Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",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.518/2.518, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.0009991/0.000999, allocations: 168.2 kB / 492.3 MB, free: 0.6094 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.526/1.526, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008356/0.0008356, allocations: 90.53 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.435e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.279, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9053/1.184, allocations: 159.6 MB / 1.368 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.185, allocations: 97.11 kB / 1.368 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03515/1.22, allocations: 14.17 MB / 1.382 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.983e-06/1.22, allocations: 4 kB / 1.382 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001177/1.22, allocations: 15.59 kB / 1.382 GB, free: 32.45 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00206/1.222, allocations: 0.8486 MB / 1.383 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.222, allocations: 15.56 kB / 1.383 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002183/1.222, allocations: 87.7 kB / 1.383 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/1.223, allocations: 73.89 kB / 1.383 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000924/1.224, allocations: 463.1 kB / 1.384 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/1.224, allocations: 44.09 kB / 1.384 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/1.224, allocations: 55.78 kB / 1.384 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009978/1.225, allocations: 0.5439 MB / 1.384 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/1.225, allocations: 3.938 kB / 1.384 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/1.225, allocations: 21.03 kB / 1.384 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/1.225, allocations: 11.09 kB / 1.384 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007452/1.226, allocations: 417.3 kB / 1.385 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/1.228, allocations: 1.543 MB / 1.386 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/1.229, allocations: 467 kB / 1.387 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/1.229, allocations: 223.1 kB / 1.387 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/1.229, allocations: 8.453 kB / 1.387 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/1.23, allocations: 299.4 kB / 1.387 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=63): time 2.936e-06/1.23, allocations: 0 / 1.387 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=63): time 0.0007796/1.231, allocations: 460.4 kB / 1.388 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/1.231, allocations: 118.5 kB / 1.388 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/1.231, allocations: 459.3 kB / 1.388 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.167e-05/1.231, allocations: 56.95 kB / 1.388 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/1.231, allocations: 258.6 kB / 1.389 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/1.232, allocations: 156.7 kB / 1.389 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/1.232, allocations: 12.88 kB / 1.389 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.232, allocations: 362.1 kB / 1.389 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/1.232, allocations: 178.1 kB / 1.389 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/1.232, allocations: 305 kB / 1.39 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/1.233, allocations: 206.6 kB / 1.39 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.233, allocations: 0 / 1.39 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008332/1.234, allocations: 0.5769 MB / 1.39 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/1.234, allocations: 37.34 kB / 1.39 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.234, allocations: 8.031 kB / 1.39 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.234, allocations: 11.83 kB / 1.39 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/1.234, allocations: 84.33 kB / 1.39 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.234, allocations: 7.562 kB / 1.39 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/1.235, allocations: 80.41 kB / 1.39 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-05/1.235, allocations: 30.09 kB / 1.391 GB, free: 28.77 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0001651/1.235, allocations: 173.5 kB / 1.391 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/1.235, allocations: 50.25 kB / 1.391 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008364/1.236, allocations: 0.5544 MB / 1.391 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.236, allocations: 3.844 kB / 1.391 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.236, allocations: 0 / 1.391 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/1.236, allocations: 7.828 kB / 1.391 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/1.238, allocations: 1.318 MB / 1.393 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.238, allocations: 3.984 kB / 1.393 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/1.238, allocations: 60.47 kB / 1.393 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/1.238, allocations: 0 / 1.393 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/1.238, allocations: 14.86 kB / 1.393 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/1.238, allocations: 3.844 kB / 1.393 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.238, allocations: 4 kB / 1.393 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/1.239, allocations: 0.6016 MB / 1.393 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/1.239, allocations: 144.9 kB / 1.393 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/1.239, allocations: 16.16 kB / 1.393 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/1.239, allocations: 63.56 kB / 1.393 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/1.239, allocations: 91.11 kB / 1.394 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/1.24, allocations: 25.86 kB / 1.394 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003266/1.24, allocations: 323.8 kB / 1.394 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.24, allocations: 0 / 1.394 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005643/1.24, allocations: 156.5 kB / 1.394 GB, free: 27.34 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: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * 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.003005/1.243, allocations: 1.694 MB / 1.396 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001076/1.245, allocations: 0.5477 MB / 1.396 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.245, allocations: 0 / 1.396 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004059/1.245, allocations: 267.8 kB / 1.396 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/1.246, allocations: 84.67 kB / 1.397 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/1.248, allocations: 0.9194 MB / 1.397 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/1.249, allocations: 0.9032 MB / 1.398 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003874/1.249, allocations: 98.11 kB / 1.398 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/1.25, allocations: 212.2 kB / 1.399 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of SimCode: time 3.8e-07/1.25, allocations: 0 / 1.399 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/1.28, allocations: 12.37 MB / 1.411 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.28, allocations: 228 kB / 1.411 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.644, allocations: 3.234 kB / 1.411 GB, free: 13.44 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat does not exist to compare? outputFormat=mat