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.446/2.446, allocations: 390.5 MB / 398 MB, free: 10.94 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.001409/0.001409, allocations: 172.8 kB / 491.2 MB, free: 1.559 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.682/1.682, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001053/0.001053, allocations: 95.02 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.85e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3117, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.347, allocations: 160.1 MB / 1.369 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/1.347, allocations: 94 kB / 1.369 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03258/1.38, allocations: 10.46 MB / 1.379 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/1.38, allocations: 3.875 kB / 1.379 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.377e-05/1.38, allocations: 7.688 kB / 1.379 GB, free: 32.4 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001276/1.381, allocations: 0.6922 MB / 1.38 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.381, allocations: 11.53 kB / 1.38 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/1.381, allocations: 65.17 kB / 1.38 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008127/1.382, allocations: 422 kB / 1.38 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/1.382, allocations: 15.62 kB / 1.38 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/1.382, allocations: 23.42 kB / 1.38 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004709/1.383, allocations: 177.1 kB / 1.38 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/1.383, allocations: 284.7 kB / 1.381 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/1.383, allocations: 3.875 kB / 1.381 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/1.383, allocations: 7.078 kB / 1.381 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/1.384, allocations: 7.844 kB / 1.381 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/1.385, allocations: 1.097 MB / 1.382 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/1.386, allocations: 219.5 kB / 1.382 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/1.386, allocations: 90.94 kB / 1.382 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/1.386, allocations: 4.031 kB / 1.382 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/1.386, allocations: 146.9 kB / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 2.565e-06/1.386, allocations: 0 / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0005946/1.387, allocations: 233.4 kB / 1.382 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/1.387, allocations: 169 kB / 1.383 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/1.388, allocations: 362.7 kB / 1.383 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/1.388, allocations: 25.7 kB / 1.383 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.388, allocations: 230.1 kB / 1.383 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/1.388, allocations: 65.2 kB / 1.383 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/1.388, allocations: 4 kB / 1.383 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.388, allocations: 355.6 kB / 1.384 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/1.388, allocations: 73.31 kB / 1.384 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/1.389, allocations: 153.3 kB / 1.384 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/1.389, allocations: 82.94 kB / 1.384 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.389, allocations: 3.844 kB / 1.384 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005124/1.389, allocations: 253.1 kB / 1.384 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.389, allocations: 4.938 kB / 1.384 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.389, allocations: 3.969 kB / 1.384 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.389, allocations: 4.125 kB / 1.384 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/1.39, allocations: 57.94 kB / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.39, allocations: 3.875 kB / 1.384 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/1.39, allocations: 35.42 kB / 1.384 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/1.39, allocations: 7.719 kB / 1.384 GB, free: 29.36 MB / 0.8386 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.0001435/1.39, allocations: 120.7 kB / 1.384 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004772/1.391, allocations: 238.4 kB / 1.385 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/1.391, allocations: 38.91 kB / 1.385 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/1.391, allocations: 262.1 kB / 1.385 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.391, allocations: 0 / 1.385 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/1.391, allocations: 7.922 kB / 1.385 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.391, allocations: 3.938 kB / 1.385 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/1.392, allocations: 385.1 kB / 1.385 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.392, allocations: 0 / 1.385 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/1.392, allocations: 46.81 kB / 1.385 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/1.392, allocations: 0 / 1.385 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/1.392, allocations: 11.33 kB / 1.385 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/1.392, allocations: 8 kB / 1.385 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.392, allocations: 0 / 1.385 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/1.393, allocations: 386.1 kB / 1.386 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/1.393, allocations: 159.3 kB / 1.386 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/1.393, allocations: 3.688 kB / 1.386 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/1.394, allocations: 18.92 kB / 1.386 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/1.394, allocations: 22.66 kB / 1.386 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/1.394, allocations: 7.828 kB / 1.386 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004105/1.394, allocations: 289.1 kB / 1.386 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.4e-07/1.394, allocations: 0 / 1.386 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005961/1.395, allocations: 87.91 kB / 1.386 GB, free: 28.41 MB / 0.8386 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.002232/1.397, allocations: 1.201 MB / 1.387 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005304/1.398, allocations: 201.1 kB / 1.388 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.398, allocations: 0 / 1.388 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/1.398, allocations: 104.9 kB / 1.388 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/1.399, allocations: 90.58 kB / 1.388 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/1.4, allocations: 0.5855 MB / 1.388 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/1.401, allocations: 0.8176 MB / 1.389 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002974/1.401, allocations: 52.52 kB / 1.389 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/1.401, allocations: 141.2 kB / 1.389 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of SimCode: time 1.563e-06/1.401, allocations: 0 / 1.389 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/1.439, allocations: 7.886 MB / 1.397 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/1.439, allocations: 210.5 kB / 1.397 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.759, allocations: 4 kB / 1.397 GB, free: 22.45 MB / 0.8386 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