Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001272/0.001272, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001314/0.001314, allocations: 194.1 kB / 16.13 MB, free: 6.656 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437 MB / 0.7099 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8915, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005004/0.8966, allocations: 3.119 MB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00321/0.8998, allocations: 1.813 MB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.9002, allocations: 11.94 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.9016, allocations: 410.6 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.9021, allocations: 223.2 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.9034, allocations: 426.6 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008594/0.9043, allocations: 0.7836 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005842/0.9048, allocations: 459.4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.9052, allocations: 282.8 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.9055, allocations: 302.5 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.167e-05/0.9056, allocations: 32 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.906, allocations: 103.9 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.9062, allocations: 215.2 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.9066, allocations: 329.8 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.9074, allocations: 0.7785 MB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.9074, allocations: 0 / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.268e-06/0.9075, allocations: 0 / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.9075, allocations: 3.938 kB / 1.026 GB, free: 9.52 MB / 0.7794 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.002021/0.9095, allocations: 1.136 MB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.9096, allocations: 16.02 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.9098, allocations: 91.91 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.9106, allocations: 0.5126 MB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.9107, allocations: 75.25 kB / 1.027 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.9108, allocations: 55.94 kB / 1.027 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009883/0.9118, allocations: 0.5424 MB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.9118, allocations: 7.938 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.9119, allocations: 16 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.9119, allocations: 12 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006615/0.9126, allocations: 351.7 kB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.9149, allocations: 1.92 MB / 1.03 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.9156, allocations: 354.4 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.9158, allocations: 167.5 kB / 1.031 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.9159, allocations: 15.67 kB / 1.031 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004722/0.9164, allocations: 258.6 kB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 3.337e-06/0.9164, allocations: 0 / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001025/0.9174, allocations: 0.493 MB / 1.031 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.9176, allocations: 191.9 kB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/0.9185, allocations: 0.7543 MB / 1.032 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.9185, allocations: 49.69 kB / 1.032 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.9188, allocations: 368.8 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.9189, allocations: 114.6 kB / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.9191, allocations: 146.2 kB / 1.033 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9193, allocations: 330 kB / 1.033 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.9196, allocations: 133.2 kB / 1.033 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.92, allocations: 323.4 kB / 1.034 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/0.9206, allocations: 389.1 kB / 1.034 GB, free: 248 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.9206, allocations: 3.938 kB / 1.034 GB, free: 244 kB / 0.7794 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008649/0.9215, allocations: 0.5183 MB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.9215, allocations: 8 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.9215, allocations: 4 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.9215, allocations: 8.594 kB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.9218, allocations: 79.77 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.9219, allocations: 8 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.9222, allocations: 63.42 kB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.9222, allocations: 28 kB / 1.035 GB, free: 15.52 MB / 0.795 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.fire,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.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.condition,transition1.enableFire,transition1.condition,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.000348/0.9226, allocations: 286 kB / 1.035 GB, free: 15.23 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.9227, allocations: 71.16 kB / 1.035 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007397/0.9234, allocations: 423.8 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.9235, allocations: 4 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.9235, allocations: 4 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.9235, allocations: 0 / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.925, allocations: 1.071 MB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.925, allocations: 0 / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.9252, allocations: 35.92 kB / 1.037 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.9252, allocations: 4 kB / 1.037 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.9252, allocations: 15.92 kB / 1.037 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9252, allocations: 0 / 1.037 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.9252, allocations: 11.88 kB / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.926, allocations: 0.5201 MB / 1.037 GB, free: 12.99 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.9261, allocations: 152 kB / 1.037 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.709e-05/0.9262, allocations: 8 kB / 1.037 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.9264, allocations: 19.98 kB / 1.037 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.9266, allocations: 51.88 kB / 1.037 GB, free: 12.74 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.9266, allocations: 16 kB / 1.037 GB, free: 12.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000632/0.9272, allocations: 0.5068 MB / 1.038 GB, free: 12.22 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9272, allocations: 0 / 1.038 GB, free: 12.22 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005848/0.9278, allocations: 135.7 kB / 1.038 GB, free: 12.09 MB / 0.795 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.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,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.fire,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.001199/0.929, allocations: 454.9 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007545/0.9298, allocations: 386.1 kB / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9298, allocations: 0 / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.9302, allocations: 203.2 kB / 1.039 GB, free: 11.21 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007007/0.9309, allocations: 120.4 kB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.9329, allocations: 1.447 MB / 1.041 GB, free: 9.617 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.9335, allocations: 0.9537 MB / 1.042 GB, free: 8.629 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.9338, allocations: 100.8 kB / 1.042 GB, free: 8.531 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.934, allocations: 55.42 kB / 1.042 GB, free: 8.477 MB / 0.795 GB Notification: Performance of SimCode: time 1.032e-06/0.934, allocations: 0 / 1.042 GB, free: 8.477 MB / 0.795 GB Notification: Performance of Templates: time 0.01334/0.9473, allocations: 6.417 MB / 1.048 GB, free: 2.121 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches