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.189/2.189, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001015/0.001014, allocations: 180.8 kB / 496.1 MB, free: 12.88 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.737/1.737, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001012/0.001012, allocations: 87.77 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.11e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3369, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.528, allocations: 160.1 MB / 1.375 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/1.528, allocations: 91.5 kB / 1.375 GB, free: 9.969 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02775/1.556, allocations: 9.023 MB / 1.384 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/1.556, allocations: 0 / 1.384 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.336e-05/1.556, allocations: 12 kB / 1.384 GB, free: 2.375 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.001433/1.558, allocations: 0.6136 MB / 1.385 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/1.558, allocations: 15.97 kB / 1.385 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/1.558, allocations: 51.17 kB / 1.385 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/1.558, allocations: 55.38 kB / 1.385 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009126/1.559, allocations: 397.8 kB / 1.385 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/1.559, allocations: 15.81 kB / 1.385 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/1.559, allocations: 22.56 kB / 1.385 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/1.56, allocations: 271.9 kB / 1.385 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/1.56, allocations: 0 / 1.385 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/1.56, allocations: 14.19 kB / 1.385 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/1.56, allocations: 11.95 kB / 1.385 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/1.56, allocations: 173.7 kB / 1.386 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/1.562, allocations: 0.848 MB / 1.386 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/1.563, allocations: 239.4 kB / 1.387 GB, free: 40 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/1.563, allocations: 82.3 kB / 1.387 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/1.563, allocations: 4 kB / 1.387 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/1.563, allocations: 141.9 kB / 1.387 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 4.268e-06/1.563, allocations: 0 / 1.387 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0005128/1.564, allocations: 241.1 kB / 1.387 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/1.564, allocations: 106.8 kB / 1.387 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/1.565, allocations: 375.2 kB / 1.388 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/1.565, allocations: 36.44 kB / 1.388 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/1.565, allocations: 203.1 kB / 1.388 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/1.565, allocations: 69.2 kB / 1.388 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/1.565, allocations: 3.812 kB / 1.388 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.565, allocations: 352.4 kB / 1.388 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/1.565, allocations: 62.06 kB / 1.388 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/1.565, allocations: 105.7 kB / 1.388 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/1.565, allocations: 70.47 kB / 1.388 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.565, allocations: 0 / 1.388 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004081/1.566, allocations: 235.9 kB / 1.389 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.566, allocations: 8 kB / 1.389 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.566, allocations: 4.094 kB / 1.389 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/1.566, allocations: 3.953 kB / 1.389 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/1.566, allocations: 50.84 kB / 1.389 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.566, allocations: 0 / 1.389 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/1.566, allocations: 27.45 kB / 1.389 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/1.566, allocations: 8 kB / 1.389 GB, free: 14.24 MB / 0.8542 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.0001105/1.567, allocations: 125.1 kB / 1.389 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/1.567, allocations: 39.53 kB / 1.389 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/1.567, allocations: 251.1 kB / 1.389 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.567, allocations: 4 kB / 1.389 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.567, allocations: 7.953 kB / 1.389 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.567, allocations: 0 / 1.389 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009289/1.568, allocations: 0.7207 MB / 1.39 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.568, allocations: 0 / 1.39 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/1.568, allocations: 43.91 kB / 1.39 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.568, allocations: 0 / 1.39 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/1.568, allocations: 11.02 kB / 1.39 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.568, allocations: 0 / 1.39 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.568, allocations: 0 / 1.39 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/1.569, allocations: 436.9 kB / 1.39 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/1.569, allocations: 149.6 kB / 1.391 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/1.569, allocations: 3.75 kB / 1.391 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/1.569, allocations: 19.02 kB / 1.391 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.57, allocations: 19.53 kB / 1.391 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/1.57, allocations: 11.98 kB / 1.391 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003158/1.57, allocations: 292.9 kB / 1.391 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.57, allocations: 0 / 1.391 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003587/1.57, allocations: 82.89 kB / 1.391 GB, free: 12.41 MB / 0.8542 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.00177/1.572, allocations: 1.258 MB / 1.392 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003619/1.572, allocations: 177.2 kB / 1.392 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.572, allocations: 0 / 1.392 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/1.573, allocations: 92.73 kB / 1.392 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/1.573, allocations: 91.02 kB / 1.393 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/1.574, allocations: 0.5445 MB / 1.393 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/1.575, allocations: 0.8111 MB / 1.394 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001792/1.575, allocations: 50.47 kB / 1.394 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/1.575, allocations: 129.8 kB / 1.394 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of SimCode: time 3.4e-07/1.575, allocations: 0 / 1.394 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/1.599, allocations: 7.57 MB / 1.401 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/1.599, allocations: 219.8 kB / 1.402 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.776/4.375, allocations: 3.844 kB / 1.402 GB, free: 2.102 MB / 0.8542 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