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/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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.289/2.289, allocations: 390.5 MB / 398 MB, free: 10.95 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.001047/0.001047, allocations: 175.5 kB / 491.2 MB, free: 1.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.026/2.026, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.00141/0.00141, allocations: 106.7 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.977e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2996, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9286/1.228, allocations: 157.2 MB / 1.366 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/1.229, allocations: 90.61 kB / 1.366 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04238/1.271, allocations: 17.35 MB / 1.383 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.445e-06/1.271, allocations: 0 / 1.383 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001261/1.271, allocations: 15 kB / 1.383 GB, free: 30.24 MB / 0.8386 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.002134/1.273, allocations: 0.9282 MB / 1.384 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/1.273, allocations: 11.56 kB / 1.384 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/1.274, allocations: 93.38 kB / 1.384 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/1.275, allocations: 0.4961 MB / 1.384 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-05/1.275, allocations: 50.02 kB / 1.385 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/1.275, allocations: 30.75 kB / 1.385 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000559/1.276, allocations: 302.1 kB / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/1.276, allocations: 489.2 kB / 1.385 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/1.276, allocations: 0 / 1.385 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/1.277, allocations: 0 / 1.385 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/1.277, allocations: 19.52 kB / 1.385 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/1.279, allocations: 1.841 MB / 1.387 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/1.279, allocations: 316.9 kB / 1.387 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/1.28, allocations: 150.2 kB / 1.388 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/1.28, allocations: 7.062 kB / 1.388 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/1.28, allocations: 239.7 kB / 1.388 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 2.655e-06/1.28, allocations: 0 / 1.388 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.0006471/1.281, allocations: 350.9 kB / 1.388 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/1.281, allocations: 195 kB / 1.388 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007141/1.281, allocations: 0.6169 MB / 1.389 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/1.282, allocations: 41 kB / 1.389 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/1.282, allocations: 377.6 kB / 1.389 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/1.282, allocations: 106.9 kB / 1.389 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/1.282, allocations: 96 / 1.389 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.282, allocations: 339.9 kB / 1.39 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/1.282, allocations: 115.6 kB / 1.39 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/1.282, allocations: 288.5 kB / 1.39 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/1.283, allocations: 133.5 kB / 1.39 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.283, allocations: 3.844 kB / 1.39 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006015/1.283, allocations: 449.7 kB / 1.391 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.283, allocations: 9.625 kB / 1.391 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.283, allocations: 3.844 kB / 1.391 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.283, allocations: 11.75 kB / 1.391 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/1.284, allocations: 76.02 kB / 1.391 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.284, allocations: 7.375 kB / 1.391 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/1.284, allocations: 38 kB / 1.391 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/1.284, allocations: 23.06 kB / 1.391 GB, free: 25.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,$PRE.transition4.t_start,transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0001409/1.284, allocations: 162.7 kB / 1.391 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004577/1.285, allocations: 358.1 kB / 1.391 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/1.285, allocations: 69.59 kB / 1.391 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000613/1.285, allocations: 392.2 kB / 1.392 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/1.285, allocations: 7.719 kB / 1.392 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.285, allocations: 96 / 1.392 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/1.285, allocations: 11.92 kB / 1.392 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/1.287, allocations: 1.003 MB / 1.393 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.287, allocations: 0 / 1.393 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/1.287, allocations: 30.98 kB / 1.393 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/1.287, allocations: 3.844 kB / 1.393 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/1.287, allocations: 10.48 kB / 1.393 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.287, allocations: 7.953 kB / 1.393 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.287, allocations: 3.969 kB / 1.393 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/1.287, allocations: 0.5298 MB / 1.393 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/1.288, allocations: 156.9 kB / 1.394 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/1.288, allocations: 6.906 kB / 1.394 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/1.288, allocations: 19.62 kB / 1.394 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.288, allocations: 53.47 kB / 1.394 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/1.288, allocations: 19.42 kB / 1.394 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004873/1.289, allocations: 461 kB / 1.394 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.41e-07/1.289, allocations: 0 / 1.394 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005415/1.289, allocations: 119.8 kB / 1.394 GB, free: 24.18 MB / 0.8386 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,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.newActive,pumOn.oldActive,pumOn.active,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001673/1.291, allocations: 1.599 MB / 1.396 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005118/1.291, allocations: 352 kB / 1.396 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.291, allocations: 1.125 kB / 1.396 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/1.292, allocations: 174.9 kB / 1.396 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/1.292, allocations: 115.4 kB / 1.396 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/1.294, allocations: 1.045 MB / 1.397 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/1.295, allocations: 0.9832 MB / 1.398 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002907/1.295, allocations: 90.61 kB / 1.398 GB, free: 21.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/1.295, allocations: 275.6 kB / 1.399 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.295, allocations: 0 / 1.399 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/1.332, allocations: 12.99 MB / 1.411 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/1.332, allocations: 175.8 kB / 1.412 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/3.653, allocations: 0 / 1.412 GB, free: 11.48 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat does not exist to compare? outputFormat=mat