Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 101.2 kB / 16.27 MB, free: 6.414 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.001434/0.001434, allocations: 190.1 kB / 17.2 MB, free: 5.945 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.61/2.61, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 65.62 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.6753, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001738/0.6771, allocations: 0.6992 MB / 1.084 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000643/0.6777, allocations: 0.8026 MB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.6778, allocations: 0 / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.6778, allocations: 5.594 kB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.486e-05/0.6779, allocations: 4.547 kB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.974e-05/0.6779, allocations: 9.906 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.678, allocations: 50.53 kB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.6781, allocations: 11.22 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.118e-05/0.6782, allocations: 13.11 kB / 1.084 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.739e-05/0.6782, allocations: 19.38 kB / 1.085 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.6782, allocations: 3.938 kB / 1.085 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.6783, allocations: 3.938 kB / 1.085 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.6783, allocations: 15.17 kB / 1.085 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.6783, allocations: 17.25 kB / 1.085 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.02e-05/0.6784, allocations: 44.34 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6784, allocations: 4 kB / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6784, allocations: 3.938 kB / 1.085 GB, free: 488 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.6784, allocations: 0 / 1.085 GB, free: 488 kB / 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.000404/0.6788, allocations: 359.9 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.6788, allocations: 9.5 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.6789, allocations: 7.578 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.679, allocations: 169 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.679, allocations: 4.375 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.6791, allocations: 2.531 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.6793, allocations: 69.42 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.6793, allocations: 192 / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.6793, allocations: 7.922 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.6793, allocations: 1.547 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.6796, allocations: 70.33 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.68, allocations: 267.1 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.6802, allocations: 54.69 kB / 1.086 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.6804, allocations: 41.36 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.6804, allocations: 3.938 kB / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.6804, allocations: 40.52 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.6804, allocations: 0 / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000525/0.6809, allocations: 131.9 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.681, allocations: 53.12 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.929e-05/0.6811, allocations: 115.1 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.6811, allocations: 25.7 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.6812, allocations: 91.19 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.6812, allocations: 10.17 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.6812, allocations: 17.61 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6814, allocations: 317.7 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.6815, allocations: 31.02 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.6817, allocations: 30.98 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.6819, allocations: 74.28 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.682, allocations: 3.938 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003155/0.6823, allocations: 94.25 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.6823, allocations: 5 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.6823, allocations: 1.094 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.6823, allocations: 0.6562 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.6824, allocations: 14.91 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.6825, allocations: 9.156 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.6825, allocations: 15.08 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.6825, allocations: 5.406 kB / 1.087 GB, free: 14.69 MB / 0.8419 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.029e-05/0.6826, allocations: 113.5 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.6827, allocations: 5.656 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.6827, allocations: 9.953 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.6827, allocations: 1.125 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6827, allocations: 0 / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.6827, allocations: 10.33 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.6829, allocations: 170.2 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6829, allocations: 0.9688 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.64e-05/0.683, allocations: 14.23 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.683, allocations: 0.8125 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.683, allocations: 0.5625 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.683, allocations: 1.875 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.683, allocations: 0 / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.6834, allocations: 198.7 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.6835, allocations: 85.83 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.6835, allocations: 1.656 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.6836, allocations: 11.86 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.6836, allocations: 2.984 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.6837, allocations: 6.328 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.906e-05/0.6837, allocations: 91.72 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.994e-06/0.6837, allocations: 0 / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002065/0.6839, allocations: 10.62 kB / 1.087 GB, free: 14.01 MB / 0.8419 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.0001127/0.6841, allocations: 97.22 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.6844, allocations: 71.47 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6844, allocations: 0 / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.6846, allocations: 39.77 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.6848, allocations: 14.58 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.6851, allocations: 163.9 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.6854, allocations: 0.6805 MB / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.6855, allocations: 9.938 kB / 1.088 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.6855, allocations: 0 / 1.088 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.002127/0.6876, allocations: 0.7357 MB / 1.089 GB, free: 13 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches