Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002041/0.002042, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002457/0.002457, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.56/1.56, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.674/2.674, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9677/0.9693, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002948/0.9723, allocations: 0.6546 MB / 0.9502 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.9737, allocations: 0.8114 MB / 0.951 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.9737, allocations: 1.375 kB / 0.951 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.9738, allocations: 0 / 0.951 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.9739, allocations: 3.938 kB / 0.951 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.9741, allocations: 10.73 kB / 0.951 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.9742, allocations: 29.98 kB / 0.9511 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.9743, allocations: 5.734 kB / 0.9511 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.864e-05/0.9744, allocations: 8.5 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.9745, allocations: 14.55 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.9745, allocations: 1.125 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.9745, allocations: 2.156 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.9746, allocations: 1.125 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.9746, allocations: 10.22 kB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.9747, allocations: 24.14 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.9747, allocations: 0 / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9747, allocations: 4 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.9747, allocations: 0 / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000451/0.9752, allocations: 343.3 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.9753, allocations: 9.812 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.9753, allocations: 10.17 kB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.9754, allocations: 165.7 kB / 0.9516 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.9754, allocations: 1.812 kB / 0.9517 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.9754, allocations: 5.875 kB / 0.9517 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.9756, allocations: 52.44 kB / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.9757, allocations: 1.844 kB / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.9757, allocations: 7.938 kB / 0.9517 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.9757, allocations: 0 / 0.9517 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.9759, allocations: 30.84 kB / 0.9517 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.9762, allocations: 248.9 kB / 0.952 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.9763, allocations: 42.34 kB / 0.952 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.9764, allocations: 19.47 kB / 0.952 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.9764, allocations: 3.984 kB / 0.952 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.9765, allocations: 31.84 kB / 0.9521 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.9765, allocations: 0 / 0.9521 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000368/0.9769, allocations: 83.97 kB / 0.9522 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.9769, allocations: 56.33 kB / 0.9522 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.977, allocations: 99.48 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.977, allocations: 25.7 kB / 0.9523 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.977, allocations: 81.92 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.977, allocations: 7.844 kB / 0.9524 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.9771, allocations: 24.27 kB / 0.9524 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.9771, allocations: 315.8 kB / 0.9527 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.9772, allocations: 22.17 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.9773, allocations: 13.08 kB / 0.9528 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.9774, allocations: 43.5 kB / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9775, allocations: 0 / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001892/0.9777, allocations: 68.27 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.9777, allocations: 9.422 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9777, allocations: 0 / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.9777, allocations: 1.375 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.9778, allocations: 9.219 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.9778, allocations: 1.406 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.9779, allocations: 14.77 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.9779, allocations: 1.562 kB / 0.9529 GB, free: 6.102 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.372e-05/0.978, allocations: 111.1 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.978, allocations: 5.312 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.9782, allocations: 77.45 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.9782, allocations: 1.219 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.9783, allocations: 4.031 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.9783, allocations: 5.312 kB / 0.9531 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.9784, allocations: 157.3 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.9784, allocations: 0 / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.9785, allocations: 10.2 kB / 0.9533 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.9785, allocations: 1.156 kB / 0.9533 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.9785, allocations: 0 / 0.9533 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.9785, allocations: 0 / 0.9533 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.9785, allocations: 1.25 kB / 0.9533 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.9787, allocations: 167 kB / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.9788, allocations: 78.23 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.9788, allocations: 0 / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.9789, allocations: 7.953 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.9789, allocations: 1.062 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.9789, allocations: 5.25 kB / 0.9535 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.979, allocations: 91.19 kB / 0.9536 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.979, allocations: 0 / 0.9536 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002189/0.9792, allocations: 7 kB / 0.9536 GB, free: 5.359 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.0001508/0.9794, allocations: 97.25 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.9796, allocations: 33.41 kB / 0.9537 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9796, allocations: 5.188 kB / 0.9537 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.9797, allocations: 23.25 kB / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.98, allocations: 11.5 kB / 0.9538 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.9804, allocations: 113.2 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.9805, allocations: 0.6808 MB / 0.9545 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.9805, allocations: 1.688 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.9805, allocations: 9.156 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.9806, allocations: 4.062 kB / 0.9546 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of Templates: time 0.002916/0.9835, allocations: 428.2 kB / 0.955 GB, free: 4.188 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches