Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",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.544/2.544, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001203/0.001203, allocations: 186.9 kB / 0.4901 GB, free: 2.246 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.711/1.711, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001133/0.001133, allocations: 102.9 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004176, allocations: 10.56 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3622, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2089/0.5712, allocations: 160.1 MB / 1.386 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5716, allocations: 95.94 kB / 1.386 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02604/0.5976, allocations: 9.051 MB / 1.395 GB, free: 152 kB / 0.8855 GB Notification: Performance of FrontEnd: time 5.32e-06/0.5977, allocations: 4 kB / 1.395 GB, free: 148 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.594e-05/0.5978, allocations: 15.92 kB / 1.395 GB, free: 132 kB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001592/0.5994, allocations: 0.6823 MB / 1.395 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.5994, allocations: 8.031 kB / 1.395 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.5996, allocations: 62.53 kB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.5998, allocations: 55.33 kB / 1.395 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.6007, allocations: 389.6 kB / 1.396 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.6008, allocations: 20.56 kB / 1.396 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.6009, allocations: 24 kB / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.6015, allocations: 292.5 kB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6015, allocations: 0 / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.6016, allocations: 15.98 kB / 1.396 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.6016, allocations: 11.95 kB / 1.396 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/0.6021, allocations: 202.2 kB / 1.396 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.6037, allocations: 0.85 MB / 1.397 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008491/0.6046, allocations: 271 kB / 1.397 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.6046, allocations: 3.984 kB / 1.397 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/0.605, allocations: 167 kB / 1.398 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=21): time 2.445e-06/0.605, allocations: 0 / 1.398 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21): time 0.0008271/0.6059, allocations: 347.7 kB / 1.398 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.6059, allocations: 102.8 kB / 1.398 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.6065, allocations: 384.7 kB / 1.398 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.6065, allocations: 29.7 kB / 1.398 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.6067, allocations: 208.2 kB / 1.399 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.6068, allocations: 63.09 kB / 1.399 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.6068, allocations: 8 kB / 1.399 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6069, allocations: 350.8 kB / 1.399 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.6071, allocations: 75.95 kB / 1.399 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.6074, allocations: 120.2 kB / 1.399 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.6076, allocations: 97.81 kB / 1.399 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6076, allocations: 0 / 1.399 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005571/0.6082, allocations: 270.6 kB / 1.4 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.6082, allocations: 4 kB / 1.4 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6082, allocations: 0 / 1.4 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.6083, allocations: 7.938 kB / 1.4 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.6085, allocations: 47.91 kB / 1.4 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.6085, allocations: 3.953 kB / 1.4 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.6087, allocations: 23.83 kB / 1.4 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.6088, allocations: 12 kB / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.dxSpe.trigger,dxSpeCon.cooMod,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002143/0.609, allocations: 170.6 kB / 1.4 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.6091, allocations: 39.53 kB / 1.4 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006007/0.6097, allocations: 277 kB / 1.4 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6097, allocations: 8 kB / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6097, allocations: 0 / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.6097, allocations: 3.953 kB / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.6108, allocations: 0.7496 MB / 1.401 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6109, allocations: 4 kB / 1.401 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.6111, allocations: 39.91 kB / 1.401 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.6111, allocations: 4 kB / 1.401 GB, free: 9.375 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.6111, allocations: 4 kB / 1.401 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.6111, allocations: 3.953 kB / 1.401 GB, free: 9.367 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6111, allocations: 4 kB / 1.401 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008326/0.612, allocations: 484.9 kB / 1.401 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.6122, allocations: 144.6 kB / 1.401 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.6122, allocations: 4 kB / 1.401 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.6124, allocations: 15.98 kB / 1.401 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.6125, allocations: 27.98 kB / 1.402 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.6126, allocations: 8 kB / 1.402 GB, free: 8.66 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003733/0.6129, allocations: 303.1 kB / 1.402 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.41e-07/0.613, allocations: 0 / 1.402 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003814/0.6133, allocations: 75.86 kB / 1.402 GB, free: 8.293 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.dxSpe.trigger,$whenCondition2,$whenCondition1,dxSpeCon.cooMod,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.002067/0.6154, allocations: 1.337 MB / 1.403 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005164/0.6159, allocations: 203.8 kB / 1.403 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.616, allocations: 4 kB / 1.403 GB, free: 6.887 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.6162, allocations: 103.9 kB / 1.403 GB, free: 6.785 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.6167, allocations: 88.67 kB / 1.404 GB, free: 6.703 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.6205, allocations: 2.347 MB / 1.406 GB, free: 4.285 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.6209, allocations: 0.8109 MB / 1.407 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002225/0.6212, allocations: 50.95 kB / 1.407 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.6214, allocations: 127.4 kB / 1.407 GB, free: 3.281 MB / 0.9011 GB Notification: Performance of SimCode: time 5.91e-07/0.6214, allocations: 0 / 1.407 GB, free: 3.281 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.6449, allocations: 7.655 MB / 1.414 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.6452, allocations: 246.4 kB / 1.415 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.975, allocations: 0 / 1.415 GB, free: 11.52 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat does not exist to compare? outputFormat=mat