Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 106 kB / 16.41 MB, free: 6.5 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.001896/0.001896, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.473/1.473, 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 9.1.3-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 67.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9629/0.9643, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001932/0.9663, allocations: 0.7035 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.9673, allocations: 0.7976 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.9674, allocations: 5 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.9674, allocations: 3.938 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.9675, allocations: 5.828 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.774e-05/0.9676, allocations: 13.8 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.9677, allocations: 43.55 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.9678, allocations: 14.55 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.9679, allocations: 16.98 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.968, allocations: 23.56 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.968, allocations: 4.031 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.968, allocations: 3.156 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.968, allocations: 10.86 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.9681, allocations: 18.44 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.9682, allocations: 36.77 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9682, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9682, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.9682, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 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.0005034/0.9687, allocations: 369.7 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.9688, allocations: 8.875 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.9688, allocations: 8.188 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.341e-05/0.9689, allocations: 169.8 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.9689, allocations: 5.469 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.9689, allocations: 2.625 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.9692, allocations: 72.66 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9692, allocations: 192 / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.9692, allocations: 3.938 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9692, allocations: 1.469 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.9695, allocations: 62.59 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.9699, allocations: 274.3 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.9701, allocations: 59.16 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.9703, allocations: 40.61 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.9703, allocations: 2.141 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.9703, allocations: 34.56 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.9703, allocations: 0 / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005723/0.9709, allocations: 128.2 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.9709, allocations: 53.41 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.971, allocations: 114.3 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.971, allocations: 30.83 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.9711, allocations: 82.7 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.9711, allocations: 18.86 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.9711, allocations: 12.86 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.9712, allocations: 317.8 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.9714, allocations: 29.88 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.9715, allocations: 32.28 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.9718, allocations: 74.42 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9718, allocations: 3.938 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003297/0.9721, allocations: 101.6 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9722, allocations: 7.016 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9722, allocations: 0 / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.9722, allocations: 0 / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.9723, allocations: 15.91 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.9724, allocations: 1.406 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.9724, allocations: 10.94 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.9724, allocations: 1.094 kB / 1.092 GB, free: 2.602 MB / 0.8575 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 5.841e-05/0.9725, allocations: 120.4 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.9725, allocations: 6.422 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.9726, allocations: 6.656 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.9726, allocations: 0 / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.9726, allocations: 5.828 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.9726, allocations: 0 / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.9727, allocations: 169.9 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9728, allocations: 1.594 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.827e-05/0.9729, allocations: 18.94 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.9729, allocations: 4.75 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.9729, allocations: 0.5625 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.9729, allocations: 4.781 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9729, allocations: 8.562 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.9732, allocations: 198.2 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.9733, allocations: 82.31 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.9733, allocations: 1.25 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.9734, allocations: 11 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.9735, allocations: 8.453 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.9735, allocations: 0.8438 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.9735, allocations: 84.02 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9735, allocations: 0.8125 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002132/0.9737, allocations: 9.688 kB / 1.093 GB, free: 1.914 MB / 0.8575 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.0001381/0.9739, allocations: 104.7 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.9742, allocations: 70.2 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9743, allocations: 0 / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.9744, allocations: 38.56 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.9747, allocations: 9.328 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.9751, allocations: 145.1 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.9752, allocations: 0.6799 MB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.9752, allocations: 10.34 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.9752, allocations: 0 / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of Templates: time 0.002439/0.9777, allocations: 0.7591 MB / 1.095 GB, free: 0.9023 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches