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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001339/0.001338, allocations: 115.5 kB / 16.42 MB, free: 6.504 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.001367/0.001367, allocations: 187.9 kB / 17.35 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.592/2.592, allocations: 461.7 MB / 0.7352 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 64.12 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9554/0.9568, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.006325/0.9632, allocations: 3.028 MB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004363/0.9676, allocations: 1.794 MB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008535/0.9685, allocations: 15.94 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.9706, allocations: 441.5 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.9716, allocations: 262.7 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.9732, allocations: 472.7 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.9747, allocations: 0.8186 MB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009891/0.9757, allocations: 487.5 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006668/0.9764, allocations: 298.9 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.977, allocations: 330.4 kB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.9772, allocations: 56 kB / 1.216 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.9777, allocations: 131.9 kB / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.978, allocations: 211.3 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004996/0.9785, allocations: 353.8 kB / 1.217 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.9796, allocations: 0.8581 MB / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9796, allocations: 0 / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9796, allocations: 0 / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.925e-05/0.9797, allocations: 0 / 1.217 GB, free: 4.133 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.002186/0.9819, allocations: 1.139 MB / 1.219 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.9819, allocations: 8.031 kB / 1.219 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.9822, allocations: 91.81 kB / 1.219 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/0.9831, allocations: 0.5359 MB / 1.219 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.9833, allocations: 71.27 kB / 1.219 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.9833, allocations: 59.94 kB / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009709/0.9843, allocations: 0.5424 MB / 1.22 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.9843, allocations: 3.938 kB / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.9844, allocations: 24 kB / 1.22 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.9844, allocations: 12 kB / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.9851, allocations: 339.7 kB / 1.22 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.9879, allocations: 1.917 MB / 1.222 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.9886, allocations: 350.8 kB / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.9888, allocations: 171.5 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.9889, allocations: 8 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/0.9894, allocations: 266.5 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 1.943e-06/0.9894, allocations: 0 / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.001055/0.9904, allocations: 0.4926 MB / 1.223 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.9906, allocations: 191.9 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009333/0.9915, allocations: 0.75 MB / 1.224 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.9916, allocations: 45.7 kB / 1.224 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.9919, allocations: 364.8 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.992, allocations: 114.5 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.9922, allocations: 142.3 kB / 1.225 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9924, allocations: 326 kB / 1.225 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.9927, allocations: 149.2 kB / 1.225 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.9931, allocations: 315.5 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.9937, allocations: 393.1 kB / 1.226 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.9937, allocations: 8 kB / 1.226 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009022/0.9946, allocations: 0.5226 MB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.9947, allocations: 12 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.9947, allocations: 4 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.9947, allocations: 8 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.995, allocations: 83.7 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.995, allocations: 8 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.9953, allocations: 63.45 kB / 1.227 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/0.9954, allocations: 28 kB / 1.227 GB, free: 10.1 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.0003444/0.9957, allocations: 281.6 kB / 1.227 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.9958, allocations: 75.06 kB / 1.227 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007592/0.9966, allocations: 420.1 kB / 1.227 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.9966, allocations: 7.984 kB / 1.227 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.9966, allocations: 0 / 1.227 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.9968, allocations: 140.1 kB / 1.228 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/0.9969, allocations: 15.98 kB / 1.228 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.997, allocations: 19.98 kB / 1.228 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.9972, allocations: 51.89 kB / 1.228 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008703/0.998, allocations: 0.7012 MB / 1.228 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008542/0.9989, allocations: 0.8152 MB / 1.229 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003151/0.9992, allocations: 180.2 kB / 1.229 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006509/0.9999, allocations: 0.499 MB / 1.23 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of Backend: time 3e-07/0.9999, allocations: 4 kB / 1.23 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002212/1.002, allocations: 0.6864 MB / 1.231 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002675/1.005, allocations: 1.644 MB / 1.232 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of Templates: time 0.01704/1.022, allocations: 7.162 MB / 1.239 GB, free: 13.54 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