Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",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.378/2.378, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.00145/0.00145, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0011/0.001101, allocations: 99.88 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.317e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.356, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.455, allocations: 160.7 MB / 1.376 GB, free: 9.367 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.456, allocations: 98.67 kB / 1.376 GB, free: 9.309 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02873/1.484, allocations: 10.54 MB / 1.386 GB, free: 500 kB / 0.8386 GB Notification: Performance of FrontEnd: time 2.104e-06/1.484, allocations: 0 / 1.386 GB, free: 500 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.298e-05/1.484, allocations: 8 kB / 1.386 GB, free: 492 kB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001477/1.486, allocations: 0.6896 MB / 1.387 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.486, allocations: 8.031 kB / 1.387 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/1.486, allocations: 66.81 kB / 1.387 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/1.486, allocations: 55.34 kB / 1.387 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/1.487, allocations: 429.5 kB / 1.387 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/1.487, allocations: 26.67 kB / 1.387 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/1.487, allocations: 26.19 kB / 1.387 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/1.488, allocations: 332.8 kB / 1.388 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.488, allocations: 0 / 1.388 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/1.488, allocations: 15.08 kB / 1.388 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/1.488, allocations: 8 kB / 1.388 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/1.488, allocations: 196.5 kB / 1.388 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/1.49, allocations: 1.168 MB / 1.389 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/1.491, allocations: 230.1 kB / 1.389 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/1.491, allocations: 104.3 kB / 1.389 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/1.491, allocations: 192 / 1.389 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/1.491, allocations: 158 kB / 1.39 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/1.491, allocations: 0 / 1.39 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0005171/1.492, allocations: 253 kB / 1.39 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/1.492, allocations: 162.2 kB / 1.39 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/1.492, allocations: 403 kB / 1.39 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/1.492, allocations: 29.45 kB / 1.39 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/1.493, allocations: 226.7 kB / 1.391 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/1.493, allocations: 80.86 kB / 1.391 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/1.493, allocations: 2.562 kB / 1.391 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.493, allocations: 353.4 kB / 1.391 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/1.493, allocations: 82.67 kB / 1.391 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/1.493, allocations: 167.7 kB / 1.391 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/1.493, allocations: 82.28 kB / 1.391 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.493, allocations: 4 kB / 1.391 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004959/1.494, allocations: 271.5 kB / 1.392 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.494, allocations: 8 kB / 1.392 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.494, allocations: 7.969 kB / 1.392 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.494, allocations: 4 kB / 1.392 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/1.494, allocations: 55.98 kB / 1.392 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.494, allocations: 8 kB / 1.392 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/1.495, allocations: 39.36 kB / 1.392 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/1.495, allocations: 15.67 kB / 1.392 GB, free: 11.59 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001246/1.495, allocations: 122.9 kB / 1.392 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/1.495, allocations: 39.53 kB / 1.392 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/1.495, allocations: 283.1 kB / 1.392 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.495, allocations: 4 kB / 1.392 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.495, allocations: 3.953 kB / 1.392 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.495, allocations: 0 / 1.392 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/1.496, allocations: 435.6 kB / 1.393 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.496, allocations: 3.984 kB / 1.393 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/1.496, allocations: 47.22 kB / 1.393 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.496, allocations: 3.938 kB / 1.393 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.496, allocations: 8 kB / 1.393 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.496, allocations: 0 / 1.393 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.496, allocations: 0 / 1.393 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/1.497, allocations: 418.8 kB / 1.393 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/1.497, allocations: 152.9 kB / 1.393 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/1.497, allocations: 7.562 kB / 1.393 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/1.497, allocations: 31.53 kB / 1.393 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/1.497, allocations: 19.47 kB / 1.393 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/1.497, allocations: 7.938 kB / 1.393 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004134/1.498, allocations: 319 kB / 1.394 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.498, allocations: 0 / 1.394 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004067/1.498, allocations: 106.7 kB / 1.394 GB, free: 9.965 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00189/1.5, allocations: 1.243 MB / 1.395 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004405/1.501, allocations: 212.6 kB / 1.395 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.501, allocations: 0 / 1.395 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/1.501, allocations: 109.5 kB / 1.395 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/1.501, allocations: 105.7 kB / 1.395 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/1.503, allocations: 0.5988 MB / 1.396 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/1.503, allocations: 0.8223 MB / 1.397 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002416/1.504, allocations: 54.94 kB / 1.397 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/1.504, allocations: 144.8 kB / 1.397 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/1.504, allocations: 0 / 1.397 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/1.53, allocations: 8.772 MB / 1.405 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.531, allocations: 242.5 kB / 1.406 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/3.753, allocations: 4 kB / 1.406 GB, free: 14.34 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat does not exist to compare? outputFormat=mat