Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.887/2.887, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.908e-05/4.179e-05, allocations: 6.031 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005345/0.005386, allocations: 2.382 MB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003678/0.009064, allocations: 1.56 MB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.009495, allocations: 9.281 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.01053, allocations: 218.4 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.01153, allocations: 200.8 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.01221, allocations: 159.5 kB / 0.8152 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008343/0.01304, allocations: 370.7 kB / 0.8156 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.01329, allocations: 58.05 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.01376, allocations: 199.4 kB / 0.8158 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.01406, allocations: 136.8 kB / 0.816 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.073e-05/0.01413, allocations: 20 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.01434, allocations: 63.92 kB / 0.816 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.01453, allocations: 132.4 kB / 0.8162 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.01469, allocations: 95.58 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008406/0.01553, allocations: 0.5029 MB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01554, allocations: 0 / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01554, allocations: 1.281 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.01555, allocations: 0 / 0.8168 GB, free: 12 MB / 0.7761 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.001902/0.01746, allocations: 0.7453 MB / 0.8175 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.01751, allocations: 13.25 kB / 0.8175 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.01773, allocations: 76.5 kB / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008122/0.01854, allocations: 379.9 kB / 0.8179 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.01857, allocations: 8.375 kB / 0.8179 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.01863, allocations: 20.38 kB / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.01906, allocations: 190.9 kB / 0.8181 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.01907, allocations: 0 / 0.8181 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.0191, allocations: 4 kB / 0.8181 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.0191, allocations: 4 kB / 0.8181 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.01936, allocations: 91.55 kB / 0.8182 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.02072, allocations: 0.535 MB / 0.8188 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.02111, allocations: 119.3 kB / 0.8189 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.02125, allocations: 53.3 kB / 0.8189 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.02128, allocations: 1.344 kB / 0.8189 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.02159, allocations: 158.7 kB / 0.8191 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.943e-06/0.02159, allocations: 0 / 0.8191 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0006306/0.02222, allocations: 218 kB / 0.8193 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.02228, allocations: 59.34 kB / 0.8193 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.02333, allocations: 0.6726 MB / 0.82 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.02337, allocations: 33.7 kB / 0.82 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.02365, allocations: 261 kB / 0.8203 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.0237, allocations: 35.73 kB / 0.8203 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.02382, allocations: 56.59 kB / 0.8204 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002475/0.02407, allocations: 366.8 kB / 0.8207 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.02427, allocations: 83.95 kB / 0.8208 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.02452, allocations: 162.8 kB / 0.8209 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.02478, allocations: 121.7 kB / 0.8211 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.02479, allocations: 0 / 0.8211 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005495/0.02534, allocations: 294.3 kB / 0.8213 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.02536, allocations: 7.938 kB / 0.8214 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.02537, allocations: 0 / 0.8214 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.02539, allocations: 7.938 kB / 0.8214 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.0256, allocations: 39.92 kB / 0.8214 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.02561, allocations: 3.984 kB / 0.8214 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.0258, allocations: 28.86 kB / 0.8214 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.02583, allocations: 9.125 kB / 0.8214 GB, free: 6.992 MB / 0.7761 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.0002777/0.02611, allocations: 211 kB / 0.8216 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.0262, allocations: 64.59 kB / 0.8217 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.02662, allocations: 189.4 kB / 0.8219 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.02662, allocations: 5.125 kB / 0.8219 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.02663, allocations: 0 / 0.8219 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.02663, allocations: 0 / 0.8219 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.02705, allocations: 294.1 kB / 0.8222 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.02706, allocations: 4 kB / 0.8222 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/0.02713, allocations: 15.92 kB / 0.8222 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.02714, allocations: 0.6875 kB / 0.8222 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.02716, allocations: 3.938 kB / 0.8222 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.02716, allocations: 5.656 kB / 0.8222 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02716, allocations: 0 / 0.8222 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.02772, allocations: 272.7 kB / 0.8225 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.02781, allocations: 47.7 kB / 0.8225 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.02788, allocations: 16.42 kB / 0.8225 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.02803, allocations: 9.297 kB / 0.8225 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.02812, allocations: 23.97 kB / 0.8225 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.02814, allocations: 11.98 kB / 0.8226 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006333/0.02877, allocations: 439.9 kB / 0.823 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02877, allocations: 0 / 0.823 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003622/0.02914, allocations: 69.45 kB / 0.823 GB, free: 5.293 MB / 0.7761 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 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.002106/0.03124, allocations: 454.7 kB / 0.8235 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.03163, allocations: 143.9 kB / 0.8236 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.03164, allocations: 4 kB / 0.8236 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.03179, allocations: 55.91 kB / 0.8237 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.03233, allocations: 83.84 kB / 0.8238 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.03412, allocations: 0.8422 MB / 0.8246 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.03446, allocations: 258.5 kB / 0.8248 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.03463, allocations: 54.88 kB / 0.8249 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.03473, allocations: 28.48 kB / 0.8249 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.03473, allocations: 0 / 0.8249 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of Templates: time 0.01143/0.04616, allocations: 4.222 MB / 0.829 GB, free: 15.38 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.71454682201147]