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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001396/0.001397, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001845/0.001845, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.073, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001917/1.075, allocations: 0.7058 MB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009219/1.076, allocations: 0.8001 MB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/1.076, allocations: 3.938 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/1.076, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/1.076, allocations: 7.875 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.569e-05/1.076, allocations: 7.984 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/1.076, allocations: 55.84 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/1.077, allocations: 12 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/1.077, allocations: 11.98 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/1.077, allocations: 27.84 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/1.077, allocations: 7.984 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.467e-06/1.077, allocations: 4 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/1.077, allocations: 4 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/1.077, allocations: 19.92 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.147e-05/1.077, allocations: 43.81 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.077, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.934e-06/1.077, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.077, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 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.0005346/1.078, allocations: 359.2 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.078, allocations: 12.02 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/1.078, allocations: 12.78 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/1.078, allocations: 170.2 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/1.078, allocations: 8.375 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/1.078, allocations: 384 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/1.078, allocations: 66.22 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.078, allocations: 4.172 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/1.078, allocations: 7.938 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/1.078, allocations: 0 / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/1.078, allocations: 67.92 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/1.079, allocations: 272.8 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/1.079, allocations: 58.47 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/1.079, allocations: 36.92 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/1.079, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/1.079, allocations: 38.56 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/1.079, allocations: 0 / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005925/1.08, allocations: 133.5 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/1.08, allocations: 51.41 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/1.08, allocations: 105.8 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/1.08, allocations: 29.7 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/1.08, allocations: 88.05 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/1.08, allocations: 7.844 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/1.08, allocations: 21.7 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.08, allocations: 310.8 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/1.081, allocations: 35.97 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/1.081, allocations: 35.89 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/1.081, allocations: 68.78 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.081, allocations: 4 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003363/1.081, allocations: 101.5 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.081, allocations: 4 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.081, allocations: 4 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.081, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/1.082, allocations: 15.98 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.082, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/1.082, allocations: 19.97 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/1.082, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 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.0001013/1.082, allocations: 113.8 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/1.082, allocations: 7.906 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/1.082, allocations: 7.906 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.082, allocations: 0 / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.082, allocations: 0 / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/1.082, allocations: 81.11 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/1.082, allocations: 4 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/1.082, allocations: 19.91 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/1.082, allocations: 3.938 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004363/1.083, allocations: 193.1 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004304/1.083, allocations: 270.7 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001619/1.083, allocations: 35.95 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.426e-05/1.083, allocations: 91.58 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of Backend: time 6.91e-07/1.083, allocations: 4 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005616/1.084, allocations: 114.3 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005937/1.084, allocations: 0.5765 MB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of Templates: time 0.003373/1.088, allocations: 0.8428 MB / 1.214 GB, free: 7.082 MB / 0.9356 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=480 -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