Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.22/2.22, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.00109/0.00109, allocations: 190.6 kB / 0.4902 GB, free: 2.23 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.654/1.654, allocations: 223.2 MB / 0.7992 GB, free: 14.74 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.0009574/0.0009576, allocations: 99.48 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 11.12 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3614, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.218/0.5794, allocations: 159.1 MB / 1.385 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5798, allocations: 99.88 kB / 1.385 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03629/0.6161, allocations: 14.66 MB / 1.399 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6161, allocations: 0 / 1.399 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.086e-05/0.6162, allocations: 15.94 kB / 1.399 GB, free: 11.45 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001424/0.6176, allocations: 0.931 MB / 1.4 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6176, allocations: 12.52 kB / 1.4 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.6178, allocations: 86.97 kB / 1.4 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000838/0.6187, allocations: 455.7 kB / 1.4 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.6188, allocations: 74.89 kB / 1.401 GB, free: 9.793 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.175e-05/0.6189, allocations: 67.92 kB / 1.401 GB, free: 9.727 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.62, allocations: 0.6098 MB / 1.401 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.62, allocations: 0 / 1.401 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.6201, allocations: 24 kB / 1.401 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.6201, allocations: 12 kB / 1.401 GB, free: 9.016 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006992/0.6208, allocations: 379.5 kB / 1.402 GB, free: 8.645 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.6238, allocations: 2.664 MB / 1.404 GB, free: 5.863 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.6245, allocations: 385.5 kB / 1.405 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.6245, allocations: 4.281 kB / 1.405 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005221/0.625, allocations: 285 kB / 1.405 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.625, allocations: 0 / 1.405 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43): time 0.001161/0.6262, allocations: 0.5041 MB / 1.405 GB, free: 4.609 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.6264, allocations: 217.6 kB / 1.406 GB, free: 4.348 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.6272, allocations: 0.5487 MB / 1.406 GB, free: 3.793 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/0.6273, allocations: 53.64 kB / 1.406 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.6277, allocations: 352.5 kB / 1.406 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.6279, allocations: 110.7 kB / 1.407 GB, free: 3.273 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.6279, allocations: 8.25 kB / 1.407 GB, free: 3.266 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002737/0.6282, allocations: 386.8 kB / 1.407 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.6285, allocations: 137.2 kB / 1.407 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.629, allocations: 335.7 kB / 1.407 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.6294, allocations: 156.7 kB / 1.408 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.6294, allocations: 4 kB / 1.408 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009924/0.6304, allocations: 0.5377 MB / 1.408 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.6304, allocations: 12.72 kB / 1.408 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.6304, allocations: 4 kB / 1.408 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.623e-05/0.6305, allocations: 16 kB / 1.408 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.6308, allocations: 67.84 kB / 1.408 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-05/0.6308, allocations: 19.92 kB / 1.408 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.6311, allocations: 43.69 kB / 1.408 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.6312, allocations: 27.98 kB / 1.408 GB, free: 1.441 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,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.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0004718/0.6317, allocations: 265.7 kB / 1.409 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.6318, allocations: 67.19 kB / 1.409 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008958/0.6327, allocations: 427 kB / 1.409 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.6328, allocations: 8 kB / 1.409 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6328, allocations: 0 / 1.409 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.6328, allocations: 3.984 kB / 1.409 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.6347, allocations: 1.083 MB / 1.41 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6348, allocations: 0 / 1.41 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.6349, allocations: 27.92 kB / 1.41 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6349, allocations: 0 / 1.41 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.635, allocations: 23.92 kB / 1.41 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.635, allocations: 4 kB / 1.41 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.635, allocations: 3.938 kB / 1.41 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/0.6359, allocations: 0.596 MB / 1.411 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.6361, allocations: 144.2 kB / 1.411 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.6362, allocations: 16 kB / 1.411 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.6364, allocations: 15.98 kB / 1.411 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.6366, allocations: 51.86 kB / 1.411 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.6366, allocations: 27.98 kB / 1.411 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005225/0.6372, allocations: 402.8 kB / 1.411 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.4e-07/0.6372, allocations: 0 / 1.411 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000653/0.6378, allocations: 135.8 kB / 1.411 GB, free: 14.01 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 41 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,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.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,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): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001513/0.6393, allocations: 487.9 kB / 1.412 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008903/0.6403, allocations: 410.6 kB / 1.412 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6403, allocations: 4.062 kB / 1.412 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.6406, allocations: 208.4 kB / 1.413 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.6412, allocations: 87.89 kB / 1.413 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.6434, allocations: 1.311 MB / 1.414 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/0.6442, allocations: 0.9496 MB / 1.415 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.6444, allocations: 80.33 kB / 1.415 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.6445, allocations: 47.42 kB / 1.415 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of SimCode: time 9.92e-07/0.6446, allocations: 0 / 1.415 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of Templates: time 0.01215/0.6567, allocations: 5.684 MB / 1.42 GB, free: 4.898 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches