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.001085/0.001085, allocations: 83.59 kB / 20.45 MB, free: 4.105 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.001132/0.001132, allocations: 165 kB / 23.82 MB, free: 0.7344 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 0.8958/0.8958, allocations: 177.1 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.789/1.789, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.874e-06/1.874e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.087e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003682/0.003713, allocations: 2.483 MB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.005469, allocations: 1.627 MB / 0.8156 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.005592, allocations: 4 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.006156, allocations: 215 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.006517, allocations: 216.2 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.006756, allocations: 151.5 kB / 0.8161 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.007055, allocations: 375.5 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.0072, allocations: 52.91 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.007726, allocations: 242.9 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.007876, allocations: 127.6 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.007908, allocations: 20 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.008006, allocations: 61.14 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.008097, allocations: 127.5 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.008177, allocations: 95.58 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.008532, allocations: 349.6 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.008536, allocations: 0 / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.693e-06/0.008538, allocations: 0 / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.008544, allocations: 0 / 0.8175 GB, free: 11.59 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.0008764/0.009421, allocations: 0.8601 MB / 0.8184 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.009458, allocations: 12.02 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.138e-05/0.009549, allocations: 73.02 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.009893, allocations: 369.9 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.009915, allocations: 8.375 kB / 0.8188 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.009944, allocations: 20.33 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.01015, allocations: 178.2 kB / 0.819 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.01016, allocations: 5.469 kB / 0.819 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.01018, allocations: 8 kB / 0.819 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.01019, allocations: 0 / 0.819 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.01029, allocations: 47.97 kB / 0.8191 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.01095, allocations: 0.5867 MB / 0.8196 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.01113, allocations: 99.89 kB / 0.8197 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.01117, allocations: 32.7 kB / 0.8198 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.01119, allocations: 0 / 0.8198 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.01133, allocations: 141.6 kB / 0.8199 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.01133, allocations: 0 / 0.8199 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0002753/0.01161, allocations: 177.5 kB / 0.8201 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.01164, allocations: 52.22 kB / 0.8201 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.01208, allocations: 0.6246 MB / 0.8207 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.01211, allocations: 44.06 kB / 0.8208 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.01228, allocations: 331.1 kB / 0.8211 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.01231, allocations: 35.73 kB / 0.8211 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.01238, allocations: 63.34 kB / 0.8212 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.01255, allocations: 0.5547 MB / 0.8217 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.0126, allocations: 35.97 kB / 0.8217 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.01269, allocations: 129.1 kB / 0.8219 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.01279, allocations: 79.3 kB / 0.8219 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01279, allocations: 0 / 0.8219 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001989/0.01299, allocations: 199.5 kB / 0.8221 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.013, allocations: 13.81 kB / 0.8221 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01301, allocations: 0 / 0.8221 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.01302, allocations: 0 / 0.8221 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.01314, allocations: 28.89 kB / 0.8222 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.01314, allocations: 4 kB / 0.8222 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.436e-05/0.01321, allocations: 24.94 kB / 0.8222 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.01323, allocations: 8 kB / 0.8222 GB, free: 6.535 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 9.934e-05/0.01333, allocations: 169.6 kB / 0.8224 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.01338, allocations: 64.73 kB / 0.8224 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.01357, allocations: 158.4 kB / 0.8226 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01358, allocations: 4 kB / 0.8226 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01358, allocations: 1.156 kB / 0.8226 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01358, allocations: 0 / 0.8226 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.01381, allocations: 336.4 kB / 0.8229 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01381, allocations: 4.5 kB / 0.8229 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.01386, allocations: 11.98 kB / 0.8229 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.01386, allocations: 1.094 kB / 0.8229 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01387, allocations: 0 / 0.8229 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01387, allocations: 7.938 kB / 0.8229 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01388, allocations: 1.062 kB / 0.8229 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.0141, allocations: 220 kB / 0.8231 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.01414, allocations: 52.95 kB / 0.8232 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.01417, allocations: 11.94 kB / 0.8232 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.01423, allocations: 11.92 kB / 0.8232 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.01428, allocations: 25.05 kB / 0.8232 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.01429, allocations: 8 kB / 0.8233 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002435/0.01454, allocations: 383 kB / 0.8236 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01454, allocations: 4.656 kB / 0.8236 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001817/0.01472, allocations: 55.89 kB / 0.8237 GB, free: 4.977 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.0008776/0.0156, allocations: 413 kB / 0.8241 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.01577, allocations: 97.97 kB / 0.8242 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01577, allocations: 0 / 0.8242 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.622e-05/0.01583, allocations: 43.61 kB / 0.8242 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.01609, allocations: 74.89 kB / 0.8243 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/0.01703, allocations: 0.7347 MB / 0.825 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.197e-05/0.01711, allocations: 136.1 kB / 0.8251 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.668e-05/0.01718, allocations: 42.94 kB / 0.8252 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.01724, allocations: 28.48 kB / 0.8252 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.01724, allocations: 0 / 0.8252 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of Templates: time 0.007163/0.0244, allocations: 4.416 MB / 0.8295 GB, free: 15.17 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.946401302702725]