Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_9_Buildings_Applications_BaseClasses_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_9_Buildings_Applications_BaseClasses_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 387.1 MB / 399.7 MB, free: 9.535 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.001039/0.001039, allocations: 172.9 kB / 492.3 MB, free: 0.6328 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.482/1.482, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.0009629/0.0009629, allocations: 89.81 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.518e-05/4.544e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2594, allocations: 142.4 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9835/1.243, allocations: 155 MB / 1.364 GB, free: 18.78 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/1.243, allocations: 87.48 kB / 1.364 GB, free: 18.78 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02375/1.267, allocations: 9.66 MB / 1.373 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.753e-06/1.267, allocations: 0 / 1.373 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.446e-05/1.267, allocations: 11.56 kB / 1.373 GB, free: 33.84 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001496/1.269, allocations: 0.7235 MB / 1.374 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.269, allocations: 11.47 kB / 1.374 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/1.269, allocations: 85.2 kB / 1.374 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/1.269, allocations: 54.25 kB / 1.374 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006646/1.27, allocations: 380.8 kB / 1.375 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/1.27, allocations: 45.16 kB / 1.375 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-05/1.27, allocations: 57.92 kB / 1.375 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009257/1.271, allocations: 493.6 kB / 1.375 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.271, allocations: 0 / 1.375 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/1.271, allocations: 21.36 kB / 1.375 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/1.271, allocations: 19.52 kB / 1.375 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/1.272, allocations: 397 kB / 1.376 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/1.274, allocations: 1.425 MB / 1.377 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/1.275, allocations: 441.3 kB / 1.377 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/1.275, allocations: 200.5 kB / 1.378 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.007e-05/1.275, allocations: 7.719 kB / 1.378 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/1.276, allocations: 272.3 kB / 1.378 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=58): time 3.046e-06/1.276, allocations: 0 / 1.378 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=58): time 0.0006583/1.276, allocations: 405.6 kB / 1.378 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/1.276, allocations: 70.36 kB / 1.378 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/1.277, allocations: 303.1 kB / 1.379 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.076e-05/1.277, allocations: 53.34 kB / 1.379 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/1.277, allocations: 213.4 kB / 1.379 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/1.277, allocations: 139.5 kB / 1.379 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/1.277, allocations: 15.5 kB / 1.379 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.277, allocations: 357.5 kB / 1.379 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/1.278, allocations: 161.7 kB / 1.38 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/1.278, allocations: 244 kB / 1.38 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/1.278, allocations: 189.4 kB / 1.38 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.278, allocations: 0 / 1.38 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0007782/1.279, allocations: 0.5249 MB / 1.38 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/1.279, allocations: 33.73 kB / 1.38 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.279, allocations: 7.047 kB / 1.38 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.279, allocations: 7.438 kB / 1.38 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/1.279, allocations: 72.67 kB / 1.381 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/1.279, allocations: 7.922 kB / 1.381 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/1.28, allocations: 80.98 kB / 1.381 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/1.28, allocations: 25.78 kB / 1.381 GB, free: 31.28 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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.0001777/1.28, allocations: 171 kB / 1.381 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/1.28, allocations: 35.22 kB / 1.381 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007909/1.281, allocations: 490.7 kB / 1.381 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.281, allocations: 7.812 kB / 1.381 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.281, allocations: 0 / 1.381 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.281, allocations: 9.297 kB / 1.381 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/1.283, allocations: 1.166 MB / 1.382 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.283, allocations: 4 kB / 1.382 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/1.283, allocations: 62.67 kB / 1.383 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/1.283, allocations: 3.938 kB / 1.383 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/1.283, allocations: 17.64 kB / 1.383 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.283, allocations: 3.719 kB / 1.383 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.283, allocations: 3.938 kB / 1.383 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/1.284, allocations: 0.5273 MB / 1.383 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.055e-05/1.284, allocations: 129.7 kB / 1.383 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/1.284, allocations: 16.7 kB / 1.383 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/1.284, allocations: 64.73 kB / 1.383 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.284, allocations: 83.22 kB / 1.383 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/1.284, allocations: 14.5 kB / 1.383 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002038/1.285, allocations: 217.1 kB / 1.384 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.31e-07/1.285, allocations: 4 kB / 1.384 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004362/1.285, allocations: 108.4 kB / 1.384 GB, free: 30.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001609/1.287, allocations: 1.326 MB / 1.385 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007041/1.287, allocations: 0.4966 MB / 1.385 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.287, allocations: 448 / 1.385 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/1.288, allocations: 247.8 kB / 1.386 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/1.288, allocations: 61.89 kB / 1.386 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/1.289, allocations: 0.7221 MB / 1.386 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/1.29, allocations: 0.8586 MB / 1.387 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000231/1.29, allocations: 69.77 kB / 1.387 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/1.29, allocations: 165.8 kB / 1.388 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.29, allocations: 0 / 1.388 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/1.313, allocations: 9.298 MB / 1.397 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.314, allocations: 225 kB / 1.397 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/3.568, allocations: 3.844 kB / 1.397 GB, free: 23.56 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_BaseClasses_Controls_Validation_VariableSpeedPumpStage_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_BaseClasses_Controls_Validation_VariableSpeedPumpStage.fmu > Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage_res.mat does not exist to compare? outputFormat=mat