Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.299/2.299, 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.0009119/0.0009118, allocations: 180.8 kB / 487.4 MB, free: 5.02 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.375/1.375, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0008631/0.000863, allocations: 99.78 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.304e-05, allocations: 7.219 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3257, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.519, allocations: 158.6 MB / 1.361 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.52, allocations: 93.72 kB / 1.361 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02306/1.543, allocations: 8.956 MB / 1.37 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.543, allocations: 0 / 1.37 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.961e-05/1.543, allocations: 7.688 kB / 1.37 GB, free: 33.24 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008881/1.544, allocations: 0.6232 MB / 1.37 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.544, allocations: 14.8 kB / 1.37 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.123e-05/1.544, allocations: 50.48 kB / 1.37 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/1.544, allocations: 394.7 kB / 1.371 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/1.544, allocations: 11.06 kB / 1.371 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/1.545, allocations: 14.48 kB / 1.371 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003013/1.545, allocations: 167.3 kB / 1.371 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/1.545, allocations: 235.2 kB / 1.371 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/1.545, allocations: 0 / 1.371 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/1.545, allocations: 0 / 1.371 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.545, allocations: 7.812 kB / 1.371 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/1.547, allocations: 0.79 MB / 1.372 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/1.547, allocations: 226.1 kB / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/1.547, allocations: 77.48 kB / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/1.547, allocations: 3.969 kB / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/1.548, allocations: 130.5 kB / 1.372 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/1.548, allocations: 0 / 1.372 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0004165/1.548, allocations: 211.6 kB / 1.373 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/1.548, allocations: 109 kB / 1.373 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/1.548, allocations: 333.3 kB / 1.373 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/1.548, allocations: 25.7 kB / 1.373 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/1.549, allocations: 211.1 kB / 1.373 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/1.549, allocations: 68.14 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/1.549, allocations: 0 / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.549, allocations: 349.8 kB / 1.374 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.57e-05/1.549, allocations: 59.62 kB / 1.374 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/1.549, allocations: 100.2 kB / 1.374 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/1.549, allocations: 68.95 kB / 1.374 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.549, allocations: 0 / 1.374 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002996/1.55, allocations: 226.4 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.55, allocations: 7.812 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/1.55, allocations: 0 / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.55, allocations: 0 / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/1.55, allocations: 49.25 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.55, allocations: 3.844 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/1.55, allocations: 14.11 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/1.55, allocations: 10.73 kB / 1.374 GB, free: 31.1 MB / 0.8386 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 () * 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.0001051/1.55, allocations: 122.1 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002875/1.55, allocations: 208.1 kB / 1.374 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/1.55, allocations: 38.84 kB / 1.375 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/1.551, allocations: 229.1 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.551, allocations: 3.875 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.551, allocations: 3.938 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.551, allocations: 6.812 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/1.552, allocations: 0.6573 MB / 1.375 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.552, allocations: 0 / 1.375 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/1.552, allocations: 33.52 kB / 1.375 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.552, allocations: 7.938 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/1.552, allocations: 3.875 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.552, allocations: 0 / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.552, allocations: 7 kB / 1.375 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/1.552, allocations: 413.9 kB / 1.376 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.553, allocations: 142.4 kB / 1.376 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/1.553, allocations: 7.906 kB / 1.376 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/1.553, allocations: 11.2 kB / 1.376 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/1.553, allocations: 26.25 kB / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/1.553, allocations: 6.203 kB / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002373/1.553, allocations: 256.2 kB / 1.376 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.553, allocations: 0 / 1.376 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003731/1.554, allocations: 76.84 kB / 1.376 GB, free: 30.2 MB / 0.8386 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) * 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.001646/1.555, allocations: 1.214 MB / 1.378 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002904/1.555, allocations: 162.5 kB / 1.378 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.555, allocations: 0 / 1.378 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/1.556, allocations: 85.84 kB / 1.378 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/1.556, allocations: 75.95 kB / 1.378 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/1.557, allocations: 0.5222 MB / 1.378 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/1.558, allocations: 0.8146 MB / 1.379 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001842/1.558, allocations: 45.25 kB / 1.379 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/1.558, allocations: 130.1 kB / 1.379 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/1.558, allocations: 0 / 1.379 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/1.591, allocations: 6.732 MB / 1.386 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.591, allocations: 193.8 kB / 1.386 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/4.012, allocations: 3.594 kB / 1.386 GB, free: 25.64 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat does not exist to compare? outputFormat=mat