Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.427/2.427, allocations: 393.5 MB / 408.4 MB, free: 11 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.001244/0.001244, allocations: 195.8 kB / 0.4902 GB, free: 2.203 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.459/1.459, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0008839/0.0008837, allocations: 104.2 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.000334, allocations: 13.7 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2716, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.4669, allocations: 160.5 MB / 1.386 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.4672, allocations: 99.94 kB / 1.386 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03802/0.5053, allocations: 14.23 MB / 1.4 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.396e-06/0.5053, allocations: 0 / 1.4 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.809e-05/0.5054, allocations: 19.94 kB / 1.4 GB, free: 10.52 MB / 0.9011 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.001897/0.5073, allocations: 0.9134 MB / 1.401 GB, free: 9.531 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5074, allocations: 12.03 kB / 1.401 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002282/0.5076, allocations: 90.52 kB / 1.401 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.5078, allocations: 75.14 kB / 1.401 GB, free: 9.348 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/0.5087, allocations: 461.9 kB / 1.401 GB, free: 8.855 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.5088, allocations: 45 kB / 1.402 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5089, allocations: 59.98 kB / 1.402 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.51, allocations: 0.5699 MB / 1.402 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5101, allocations: 0 / 1.402 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.5101, allocations: 24 kB / 1.402 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5101, allocations: 12 kB / 1.402 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.5111, allocations: 467.7 kB / 1.403 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.5139, allocations: 1.54 MB / 1.404 GB, free: 6.078 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.515, allocations: 0.5019 MB / 1.405 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.515, allocations: 16.73 kB / 1.405 GB, free: 5.547 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006554/0.5157, allocations: 326.9 kB / 1.405 GB, free: 5.215 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=63): time 2.735e-06/0.5157, allocations: 0 / 1.405 GB, free: 5.215 MB / 0.9011 GB Notification: Performance of matching and sorting (n=63): time 0.001439/0.5172, allocations: 0.678 MB / 1.406 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.5173, allocations: 115.4 kB / 1.406 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005728/0.5178, allocations: 460.4 kB / 1.406 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.5179, allocations: 49.7 kB / 1.406 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.5181, allocations: 257.1 kB / 1.406 GB, free: 3.629 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.5183, allocations: 161.9 kB / 1.407 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.5183, allocations: 16 kB / 1.407 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5185, allocations: 366.8 kB / 1.407 GB, free: 3.086 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.519, allocations: 209.9 kB / 1.407 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.5196, allocations: 328.8 kB / 1.407 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.5201, allocations: 228.9 kB / 1.408 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5201, allocations: 0 / 1.408 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001203/0.5213, allocations: 0.6273 MB / 1.408 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.5213, allocations: 37.66 kB / 1.408 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.5214, allocations: 0 / 1.408 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.5214, allocations: 11.94 kB / 1.408 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.5217, allocations: 87.75 kB / 1.408 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.5218, allocations: 8 kB / 1.408 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.5222, allocations: 83.72 kB / 1.409 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.5223, allocations: 20 kB / 1.409 GB, free: 1.402 MB / 0.9011 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 () * Number of clocked 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.0003537/0.5226, allocations: 271.4 kB / 1.409 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.5227, allocations: 47.44 kB / 1.409 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.5239, allocations: 0.6058 MB / 1.409 GB, free: 480 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.5239, allocations: 8 kB / 1.409 GB, free: 472 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5239, allocations: 0 / 1.409 GB, free: 472 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/0.524, allocations: 3.984 kB / 1.409 GB, free: 468 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.5263, allocations: 1.367 MB / 1.411 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5263, allocations: 0 / 1.411 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.5266, allocations: 67.84 kB / 1.411 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.5266, allocations: 0 / 1.411 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/0.5266, allocations: 19.98 kB / 1.411 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.5266, allocations: 0 / 1.411 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5266, allocations: 0 / 1.411 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.5277, allocations: 0.6435 MB / 1.412 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.5279, allocations: 148.4 kB / 1.412 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.852e-05/0.528, allocations: 16 kB / 1.412 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.5284, allocations: 63.94 kB / 1.412 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.5286, allocations: 88.42 kB / 1.412 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.5287, allocations: 27.98 kB / 1.412 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003962/0.5291, allocations: 331.1 kB / 1.412 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5291, allocations: 0 / 1.412 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006083/0.5297, allocations: 151.9 kB / 1.412 GB, free: 13.46 MB / 0.9167 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) * Number of clocked states: 0 () * 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.003122/0.5328, allocations: 1.826 MB / 1.414 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.5341, allocations: 0.597 MB / 1.415 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5341, allocations: 0 / 1.415 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.5346, allocations: 287.6 kB / 1.415 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.5351, allocations: 83.12 kB / 1.415 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.5413, allocations: 4.353 MB / 1.419 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.5419, allocations: 0.9047 MB / 1.42 GB, free: 5.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.5422, allocations: 96.53 kB / 1.42 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.5426, allocations: 215.3 kB / 1.42 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of SimCode: time 8.11e-07/0.5426, allocations: 0 / 1.42 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4897/1.032, allocations: 12.33 MB / 1.432 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/1.033, allocations: 252.6 kB / 1.433 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/3.376, allocations: 0 / 1.433 GB, free: 181.3 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat does not exist to compare? outputFormat=mat