Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64.95 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3571, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.002105/0.3592, allocations: 0.7634 MB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008618/0.3601, allocations: 0.8001 MB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.3602, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.3602, allocations: 7.875 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.497e-05/0.3603, allocations: 7.922 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.934e-05/0.3604, allocations: 12 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.3605, allocations: 43.84 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3606, allocations: 11.98 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.888e-05/0.3606, allocations: 19.92 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.3607, allocations: 15.92 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3607, allocations: 4 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.3607, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.3608, allocations: 11.98 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.3608, allocations: 11.88 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.292e-05/0.3609, allocations: 43.86 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3609, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3609, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.3609, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005381/0.3615, allocations: 363.7 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3615, allocations: 12.03 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.3616, allocations: 4.844 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3617, allocations: 180.2 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.3617, allocations: 384 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3617, allocations: 4.375 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.362, allocations: 70.22 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.362, allocations: 192 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.362, allocations: 3.938 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.362, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.3623, allocations: 63.92 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.3627, allocations: 276.8 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.3629, allocations: 50.48 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.363, allocations: 44.91 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3631, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3631, allocations: 34.56 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3631, allocations: 0 / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005525/0.3637, allocations: 125.5 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3637, allocations: 59.39 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.3638, allocations: 113.8 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3638, allocations: 29.69 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.3639, allocations: 92.05 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.3639, allocations: 3.906 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.364, allocations: 17.72 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3641, allocations: 314.8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3642, allocations: 31.97 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.3644, allocations: 31.97 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.3646, allocations: 65.06 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3647, allocations: 7.875 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003072/0.365, allocations: 105.5 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.365, allocations: 7.984 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.365, allocations: 4 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.365, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3652, allocations: 11.98 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.3652, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.23e-05/0.3653, allocations: 15.98 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3653, allocations: 4 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.652e-05/0.3654, allocations: 113.8 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3654, allocations: 3.906 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.3654, allocations: 15.89 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3655, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3655, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3655, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.3657, allocations: 169.6 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3657, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.514e-05/0.3658, allocations: 19.98 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3658, allocations: 3.984 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.3658, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3658, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3658, allocations: 3.938 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.3661, allocations: 195.4 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.3662, allocations: 88.95 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.3662, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3663, allocations: 11.97 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.3664, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3664, allocations: 3.938 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.61e-05/0.3664, allocations: 91.27 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3664, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002074/0.3667, allocations: 8 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.3668, allocations: 99.25 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.3672, allocations: 71.86 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3672, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.3673, allocations: 39.95 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3677, allocations: 13.48 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.368, allocations: 127.2 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.3683, allocations: 0.6848 MB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.3683, allocations: 7.938 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.3683, allocations: 11.44 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3683, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of Templates: time 0.002645/0.371, allocations: 0.5432 MB / 1.074 GB, free: 4.316 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches