Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 108.6 kB / 15.73 MB, free: 72 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.002155/0.002155, allocations: 183.1 kB / 16.66 MB, free: 6.602 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 / 240.3 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.948/2.948, allocations: 437 MB / 0.7105 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4125, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004744/0.4173, allocations: 2.443 MB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.4201, allocations: 1.51 MB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/0.4205, allocations: 7.938 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008536/0.4213, allocations: 215 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005947/0.422, allocations: 155.2 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.4227, allocations: 191.5 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.4233, allocations: 354.8 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.4236, allocations: 92.67 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.4239, allocations: 135.4 kB / 1.172 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.4242, allocations: 155.2 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.828e-05/0.4243, allocations: 24 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.4245, allocations: 59.97 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.4246, allocations: 127.5 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.4249, allocations: 194.5 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007591/0.4256, allocations: 0.5054 MB / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4256, allocations: 0 / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4257, allocations: 0 / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.4257, allocations: 0 / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001598/0.4273, allocations: 0.8277 MB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4273, allocations: 8.031 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.4275, allocations: 64.52 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.4282, allocations: 428.4 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4282, allocations: 12.38 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.4282, allocations: 15.94 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.4286, allocations: 146.2 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4286, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.4286, allocations: 8 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.4286, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.4288, allocations: 83.95 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.43, allocations: 0.6408 MB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.4304, allocations: 134.6 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.4305, allocations: 44.84 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.4306, allocations: 4 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.4308, allocations: 111.3 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.4308, allocations: 0 / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.000527/0.4313, allocations: 213.2 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.4314, allocations: 55.41 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000796/0.4322, allocations: 0.6437 MB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.4323, allocations: 33.7 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.4325, allocations: 252.5 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.4326, allocations: 47.67 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.4327, allocations: 53.69 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4329, allocations: 366.8 kB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.4331, allocations: 75.97 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.4333, allocations: 119.3 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.4335, allocations: 142.1 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4335, allocations: 0 / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005015/0.434, allocations: 270.3 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4341, allocations: 8 kB / 1.177 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4341, allocations: 0 / 1.177 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4341, allocations: 0 / 1.177 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.4343, allocations: 35.97 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.4344, allocations: 8 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.4346, allocations: 35.84 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.4346, allocations: 8 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002458/0.4349, allocations: 209.7 kB / 1.178 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.4349, allocations: 51.67 kB / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.98e-05/0.435, allocations: 56.66 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.435, allocations: 4 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4351, allocations: 0 / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4351, allocations: 0 / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.4355, allocations: 381.3 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.4355, allocations: 0 / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.916e-05/0.4356, allocations: 15.92 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4356, allocations: 0 / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.4356, allocations: 4 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4356, allocations: 0 / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4356, allocations: 4 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.4361, allocations: 260.6 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.4363, allocations: 128.9 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.4363, allocations: 7.984 kB / 1.178 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.4365, allocations: 11.98 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.4366, allocations: 23.97 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.4366, allocations: 8 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005336/0.4371, allocations: 426.8 kB / 1.179 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4371, allocations: 0 / 1.179 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003182/0.4375, allocations: 59.89 kB / 1.179 GB, free: 9.832 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00107/0.4385, allocations: 442.5 kB / 1.179 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003797/0.4389, allocations: 158.5 kB / 1.179 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4389, allocations: 0 / 1.179 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.4391, allocations: 51.98 kB / 1.18 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.4395, allocations: 80.45 kB / 1.18 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.441, allocations: 0.8416 MB / 1.18 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.4415, allocations: 0.8617 MB / 1.181 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.4417, allocations: 42.27 kB / 1.181 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/0.4418, allocations: 31.36 kB / 1.181 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.4418, allocations: 0 / 1.181 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of Templates: time 0.009885/0.4517, allocations: 4.054 MB / 1.185 GB, free: 3.426 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches