Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001271/0.001271, allocations: 114.2 kB / 16.81 MB, free: 5.77 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.001357/0.001357, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.508/1.508, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 66.86 kB / 1.097 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4435, allocations: 168.7 MB / 1.262 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002157/0.4457, allocations: 0.7085 MB / 1.263 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.4468, allocations: 0.8004 MB / 1.264 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.4468, allocations: 8 kB / 1.264 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.4468, allocations: 3.938 kB / 1.264 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.4469, allocations: 3.938 kB / 1.264 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.379e-05/0.447, allocations: 15.92 kB / 1.264 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.652e-05/0.4471, allocations: 43.91 kB / 1.264 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.4472, allocations: 4 kB / 1.264 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.4473, allocations: 19.92 kB / 1.264 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.4473, allocations: 23.91 kB / 1.264 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.4474, allocations: 4 kB / 1.264 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.4474, allocations: 4 kB / 1.264 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.4474, allocations: 11.94 kB / 1.264 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.4474, allocations: 19.91 kB / 1.264 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.4475, allocations: 43.81 kB / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.4475, allocations: 0 / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4475, allocations: 0 / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4476, allocations: 0 / 1.264 GB, free: 11.31 MB / 0.9825 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.0006149/0.4482, allocations: 359.3 kB / 1.264 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4482, allocations: 16.02 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.4483, allocations: 8.891 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.4484, allocations: 168.3 kB / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4484, allocations: 384 / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.4484, allocations: 4.375 kB / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.4487, allocations: 70.16 kB / 1.264 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.4487, allocations: 192 / 1.264 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.4487, allocations: 7.922 kB / 1.264 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.4487, allocations: 0 / 1.264 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.449, allocations: 67.92 kB / 1.264 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.4495, allocations: 276.8 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.4497, allocations: 58.47 kB / 1.265 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.4498, allocations: 36.92 kB / 1.265 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.4498, allocations: 4 kB / 1.265 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.45, allocations: 34.5 kB / 1.265 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.45, allocations: 0 / 1.265 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005387/0.4505, allocations: 133.5 kB / 1.265 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.4505, allocations: 51.41 kB / 1.265 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.4507, allocations: 113.8 kB / 1.265 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.4508, allocations: 25.7 kB / 1.265 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.4509, allocations: 88.12 kB / 1.265 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.4509, allocations: 11.91 kB / 1.265 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.451, allocations: 17.7 kB / 1.265 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000244/0.4512, allocations: 318.8 kB / 1.266 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.4513, allocations: 27.97 kB / 1.266 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.4515, allocations: 31.95 kB / 1.266 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.4518, allocations: 76.78 kB / 1.266 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4518, allocations: 0 / 1.266 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003242/0.4521, allocations: 105.5 kB / 1.266 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4521, allocations: 4 kB / 1.266 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4521, allocations: 0 / 1.266 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4521, allocations: 0 / 1.266 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.4523, allocations: 19.98 kB / 1.266 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4523, allocations: 0 / 1.266 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.4524, allocations: 19.92 kB / 1.266 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.4524, allocations: 0 / 1.266 GB, free: 8.973 MB / 0.9825 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 0.0001003/0.4525, allocations: 113.8 kB / 1.266 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.4525, allocations: 4 kB / 1.266 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.4525, allocations: 3.906 kB / 1.266 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4525, allocations: 0 / 1.266 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4525, allocations: 4 kB / 1.266 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.4526, allocations: 85.05 kB / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.4526, allocations: 0 / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4527, allocations: 15.97 kB / 1.266 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.4528, allocations: 7.938 kB / 1.266 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004197/0.4532, allocations: 189.1 kB / 1.266 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004205/0.4536, allocations: 270.8 kB / 1.267 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001654/0.4538, allocations: 39.95 kB / 1.267 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.583e-05/0.4538, allocations: 87.28 kB / 1.267 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of Backend: time 4.41e-07/0.4538, allocations: 0 / 1.267 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005295/0.4544, allocations: 116.3 kB / 1.267 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0007896/0.4551, allocations: 0.5803 MB / 1.267 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of Templates: time 0.003577/0.4587, allocations: 0.8551 MB / 1.268 GB, free: 6.512 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches