Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 182.9 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008873/0.0008876, allocations: 96.33 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004066, allocations: 6.938 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3541, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2137/0.5678, allocations: 158.5 MB / 1.378 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5682, allocations: 99.88 kB / 1.378 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04113/0.6093, allocations: 15.6 MB / 1.393 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6094, allocations: 0 / 1.393 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.675e-05/0.6094, allocations: 20 kB / 1.393 GB, free: 3.605 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.00236/0.6118, allocations: 1.009 MB / 1.394 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6119, allocations: 8.031 kB / 1.394 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003413/0.6122, allocations: 94.88 kB / 1.394 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6133, allocations: 460.2 kB / 1.395 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.6134, allocations: 79.02 kB / 1.395 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.6136, allocations: 64 kB / 1.395 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.6149, allocations: 0.6792 MB / 1.395 GB, free: 1.051 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.6149, allocations: 11.88 kB / 1.395 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/0.615, allocations: 28 kB / 1.395 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.615, allocations: 16 kB / 1.395 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009834/0.616, allocations: 443.5 kB / 1.396 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.6195, allocations: 2.706 MB / 1.398 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.6204, allocations: 385.4 kB / 1.399 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.6204, allocations: 12 kB / 1.399 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005419/0.621, allocations: 284.9 kB / 1.399 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=43): time 2.936e-06/0.621, allocations: 0 / 1.399 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43): time 0.001229/0.6222, allocations: 0.5213 MB / 1.4 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.6224, allocations: 221.6 kB / 1.4 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000902/0.6233, allocations: 0.581 MB / 1.4 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.791e-05/0.6234, allocations: 53.7 kB / 1.4 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.6238, allocations: 372.7 kB / 1.401 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.6239, allocations: 106.7 kB / 1.401 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.624, allocations: 16 kB / 1.401 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.6242, allocations: 382.8 kB / 1.401 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.6246, allocations: 169.9 kB / 1.401 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.6251, allocations: 388.4 kB / 1.402 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.6256, allocations: 179.8 kB / 1.402 GB, free: 9.867 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.6256, allocations: 4 kB / 1.402 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00118/0.6268, allocations: 0.6019 MB / 1.403 GB, free: 9.254 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.6268, allocations: 8 kB / 1.403 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.6268, allocations: 8 kB / 1.403 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.6269, allocations: 8 kB / 1.403 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.6272, allocations: 92.09 kB / 1.403 GB, free: 9.141 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.6272, allocations: 16 kB / 1.403 GB, free: 9.125 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.6276, allocations: 63.66 kB / 1.403 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.6277, allocations: 39.89 kB / 1.403 GB, free: 9.023 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004015/0.6281, allocations: 287.3 kB / 1.403 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.6282, allocations: 71.09 kB / 1.403 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008647/0.6291, allocations: 431.8 kB / 1.404 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.6291, allocations: 11.98 kB / 1.404 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.6292, allocations: 0 / 1.404 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6292, allocations: 4 kB / 1.404 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.631, allocations: 1.068 MB / 1.405 GB, free: 7.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.631, allocations: 4 kB / 1.405 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.6312, allocations: 35.91 kB / 1.405 GB, free: 7.055 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.6312, allocations: 4 kB / 1.405 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.6312, allocations: 15.98 kB / 1.405 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.924e-06/0.6312, allocations: 4 kB / 1.405 GB, free: 7.031 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6312, allocations: 3.953 kB / 1.405 GB, free: 7.027 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009882/0.6322, allocations: 0.6076 MB / 1.405 GB, free: 6.355 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.6324, allocations: 148.2 kB / 1.405 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.6325, allocations: 12 kB / 1.405 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.6328, allocations: 35.97 kB / 1.405 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.6329, allocations: 63.86 kB / 1.406 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.633, allocations: 23.98 kB / 1.406 GB, free: 6.059 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005504/0.6336, allocations: 427 kB / 1.406 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6336, allocations: 0 / 1.406 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006528/0.6342, allocations: 131.9 kB / 1.406 GB, free: 5.516 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 40 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 13 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.6355, allocations: 494.9 kB / 1.407 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009865/0.6365, allocations: 448 kB / 1.407 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6365, allocations: 3.938 kB / 1.407 GB, free: 4.746 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.637, allocations: 220.3 kB / 1.407 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.6375, allocations: 92 kB / 1.407 GB, free: 4.438 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.6399, allocations: 1.368 MB / 1.409 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.6406, allocations: 0.9613 MB / 1.41 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.6409, allocations: 84.66 kB / 1.41 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.641, allocations: 47.42 kB / 1.41 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of SimCode: time 4.31e-07/0.641, allocations: 4 kB / 1.41 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of Templates: time 0.01375/0.6548, allocations: 6.04 MB / 1.416 GB, free: 11.91 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches