Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 110.7 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 187 kB / 17.34 MB, free: 5.762 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.89 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8043/0.8056, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005033/0.8107, allocations: 3.036 MB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.8139, allocations: 1.79 MB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004123/0.8143, allocations: 15.94 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.8157, allocations: 430.4 kB / 1.214 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007849/0.8165, allocations: 262.7 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.8178, allocations: 466.3 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.8189, allocations: 0.8225 MB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007466/0.8196, allocations: 499.5 kB / 1.216 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.8201, allocations: 302.9 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.8205, allocations: 322.5 kB / 1.216 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.8207, allocations: 56 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.821, allocations: 127.9 kB / 1.216 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.8212, allocations: 219.3 kB / 1.217 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.8216, allocations: 345.8 kB / 1.217 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009652/0.8226, allocations: 0.8659 MB / 1.218 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8226, allocations: 0 / 1.218 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8226, allocations: 0 / 1.218 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.499e-05/0.8227, allocations: 0 / 1.218 GB, free: 4.059 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001918/0.8246, allocations: 1.143 MB / 1.219 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8246, allocations: 8.031 kB / 1.219 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.8248, allocations: 99.8 kB / 1.219 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.8256, allocations: 0.5281 MB / 1.219 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.081e-05/0.8256, allocations: 71.25 kB / 1.22 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.8257, allocations: 59.94 kB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008921/0.8266, allocations: 0.5463 MB / 1.22 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.8266, allocations: 0 / 1.22 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.8267, allocations: 24 kB / 1.22 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.8267, allocations: 12 kB / 1.22 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.8273, allocations: 347.6 kB / 1.22 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.8297, allocations: 1.909 MB / 1.222 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.8303, allocations: 360.5 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.8306, allocations: 171.5 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.8306, allocations: 11.98 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000428/0.8311, allocations: 262.5 kB / 1.223 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.003e-06/0.8311, allocations: 0 / 1.223 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.0009501/0.832, allocations: 0.4925 MB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.739e-05/0.8322, allocations: 199.9 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/0.833, allocations: 0.7461 MB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.833, allocations: 49.7 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.8333, allocations: 364.8 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.8334, allocations: 114.5 kB / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.8336, allocations: 142.3 kB / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8338, allocations: 326 kB / 1.225 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.834, allocations: 145.2 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.8344, allocations: 323.5 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.835, allocations: 385.2 kB / 1.226 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.835, allocations: 7.938 kB / 1.226 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008609/0.8359, allocations: 0.5265 MB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.8359, allocations: 8.062 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8359, allocations: 8 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.836, allocations: 8 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.8362, allocations: 71.78 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.8363, allocations: 15.92 kB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.8366, allocations: 59.45 kB / 1.227 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.8366, allocations: 24 kB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition4.t_start,$PRE.transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.outPort[1].reset,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.localCondition,transition1.enableFire,transition1.localCondition,actMod,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003196/0.8369, allocations: 289.6 kB / 1.227 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.837, allocations: 75.06 kB / 1.227 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007376/0.8378, allocations: 420.1 kB / 1.228 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.8378, allocations: 4 kB / 1.228 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.8378, allocations: 3.938 kB / 1.228 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.8378, allocations: 7.984 kB / 1.228 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.8393, allocations: 1.076 MB / 1.229 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.8393, allocations: 0 / 1.229 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.8395, allocations: 27.92 kB / 1.229 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.8395, allocations: 4 kB / 1.229 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.8395, allocations: 15.98 kB / 1.229 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.8395, allocations: 4 kB / 1.229 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8395, allocations: 3.938 kB / 1.229 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.8403, allocations: 0.5301 MB / 1.229 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.8404, allocations: 140.1 kB / 1.229 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.8405, allocations: 23.92 kB / 1.23 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.8407, allocations: 19.98 kB / 1.23 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.8408, allocations: 47.89 kB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.8409, allocations: 23.98 kB / 1.23 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005737/0.8415, allocations: 0.4951 MB / 1.23 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8415, allocations: 0 / 1.23 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005336/0.842, allocations: 139.6 kB / 1.23 GB, free: 6.574 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,transition3.enableFire,off.active,pumOn.active,staBy.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.localCondition,transition1.enableFire,transition2.localCondition,transition2.enableFire,staBy.localActive,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.localActive,pumOn.outPort[1].reset,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.t_start,transition4.enableFire,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001147/0.8432, allocations: 444.8 kB / 1.231 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007541/0.8439, allocations: 401 kB / 1.231 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8439, allocations: 4 kB / 1.231 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.8443, allocations: 187.8 kB / 1.231 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.845, allocations: 139.5 kB / 1.231 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.8469, allocations: 1.268 MB / 1.233 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.8475, allocations: 0.9495 MB / 1.234 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.8476, allocations: 59.42 kB / 1.234 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.8476, allocations: 0 / 1.234 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of Templates: time 0.014/0.8616, allocations: 9.098 MB / 1.242 GB, free: 10.19 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches