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.384/2.384, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001259/0.001259, allocations: 176.8 kB / 487.4 MB, free: 5.031 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.596/1.596, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.0009543, allocations: 98.72 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.745e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.255, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9837/1.239, allocations: 158.9 MB / 1.361 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.239, allocations: 96.84 kB / 1.361 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03319/1.272, allocations: 14.02 MB / 1.375 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/1.272, allocations: 0 / 1.375 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.439e-05/1.273, allocations: 15.5 kB / 1.375 GB, free: 32.74 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.001248/1.274, allocations: 0.8466 MB / 1.376 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.274, allocations: 12.19 kB / 1.376 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/1.274, allocations: 69.88 kB / 1.376 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006056/1.275, allocations: 469.7 kB / 1.376 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/1.275, allocations: 22.84 kB / 1.376 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.266e-05/1.275, allocations: 34.89 kB / 1.376 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006064/1.275, allocations: 386.4 kB / 1.377 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007002/1.276, allocations: 487.5 kB / 1.377 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/1.276, allocations: 0 / 1.377 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/1.276, allocations: 7.234 kB / 1.377 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.276, allocations: 15.53 kB / 1.377 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/1.278, allocations: 1.447 MB / 1.379 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/1.279, allocations: 426.9 kB / 1.379 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/1.279, allocations: 200.5 kB / 1.379 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/1.279, allocations: 12.08 kB / 1.379 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/1.279, allocations: 276.4 kB / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=63): time 2.034e-06/1.279, allocations: 0 / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=63): time 0.0006432/1.28, allocations: 425.5 kB / 1.38 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/1.28, allocations: 118.5 kB / 1.38 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/1.28, allocations: 431.5 kB / 1.381 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/1.281, allocations: 39.67 kB / 1.381 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/1.281, allocations: 258.9 kB / 1.381 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.336e-05/1.281, allocations: 148.9 kB / 1.381 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/1.281, allocations: 0 / 1.381 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.281, allocations: 366.7 kB / 1.381 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/1.281, allocations: 165.8 kB / 1.381 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/1.282, allocations: 288.1 kB / 1.382 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/1.282, allocations: 161.3 kB / 1.382 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.282, allocations: 0 / 1.382 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006751/1.282, allocations: 0.5016 MB / 1.382 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/1.283, allocations: 33.39 kB / 1.382 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/1.283, allocations: 0 / 1.382 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.283, allocations: 11.75 kB / 1.382 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/1.283, allocations: 88.53 kB / 1.383 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.283, allocations: 3.812 kB / 1.383 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/1.283, allocations: 74.25 kB / 1.383 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/1.283, allocations: 29.61 kB / 1.383 GB, free: 29.24 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.0001659/1.284, allocations: 160.1 kB / 1.383 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005491/1.284, allocations: 415.7 kB / 1.383 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/1.284, allocations: 54.45 kB / 1.383 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/1.285, allocations: 0.5013 MB / 1.384 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/1.285, allocations: 7.719 kB / 1.384 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.285, allocations: 0 / 1.384 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.285, allocations: 3.984 kB / 1.384 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/1.287, allocations: 1.206 MB / 1.385 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.287, allocations: 0 / 1.385 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/1.287, allocations: 64.41 kB / 1.385 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/1.287, allocations: 3.812 kB / 1.385 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/1.287, allocations: 11.86 kB / 1.385 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.287, allocations: 0 / 1.385 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.287, allocations: 0 / 1.385 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/1.288, allocations: 0.5641 MB / 1.386 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/1.288, allocations: 145.6 kB / 1.386 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/1.288, allocations: 6.938 kB / 1.386 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/1.288, allocations: 54.53 kB / 1.386 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/1.288, allocations: 89.14 kB / 1.386 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/1.288, allocations: 25.11 kB / 1.386 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002829/1.289, allocations: 308.8 kB / 1.386 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.289, allocations: 0 / 1.386 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000515/1.289, allocations: 126.9 kB / 1.386 GB, free: 27.76 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.002265/1.291, allocations: 1.594 MB / 1.388 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007202/1.292, allocations: 0.5175 MB / 1.388 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.292, allocations: 3.938 kB / 1.388 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/1.292, allocations: 247.5 kB / 1.389 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/1.293, allocations: 69.83 kB / 1.389 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.294, allocations: 0.8657 MB / 1.389 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/1.295, allocations: 0.9113 MB / 1.39 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002692/1.295, allocations: 94.14 kB / 1.39 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/1.296, allocations: 214 kB / 1.391 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.296, allocations: 0 / 1.391 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/1.326, allocations: 11.66 MB / 1.402 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/1.326, allocations: 218.2 kB / 1.402 GB, free: 19.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/3.653, allocations: 0 / 1.402 GB, free: 19.5 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