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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.236/2.236, allocations: 390.5 MB / 398 MB, free: 10.93 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.001474/0.001474, allocations: 179.8 kB / 491.2 MB, free: 1.57 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.742/1.742, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001036/0.001036, allocations: 91.89 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.214e-05/1.217e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4023, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.23/1.633, allocations: 159.4 MB / 1.368 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.633, allocations: 96.84 kB / 1.368 GB, free: 17.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02171/1.655, allocations: 8.958 MB / 1.377 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/1.655, allocations: 0.5625 kB / 1.377 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.073e-05/1.655, allocations: 7.656 kB / 1.377 GB, free: 32.63 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.0008415/1.656, allocations: 0.6194 MB / 1.377 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.656, allocations: 10.56 kB / 1.377 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.964e-05/1.656, allocations: 54.23 kB / 1.377 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/1.656, allocations: 392.7 kB / 1.378 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/1.656, allocations: 11.59 kB / 1.378 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/1.656, allocations: 14.78 kB / 1.378 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003169/1.657, allocations: 165.6 kB / 1.378 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/1.657, allocations: 237.6 kB / 1.378 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.657, allocations: 0 / 1.378 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/1.657, allocations: 0 / 1.378 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.657, allocations: 15.58 kB / 1.378 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/1.658, allocations: 0.7807 MB / 1.379 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/1.659, allocations: 229.8 kB / 1.379 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/1.659, allocations: 78.31 kB / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/1.659, allocations: 0 / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/1.659, allocations: 126.9 kB / 1.379 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/1.659, allocations: 0 / 1.379 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003846/1.66, allocations: 217.8 kB / 1.38 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.66, allocations: 117.8 kB / 1.38 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/1.66, allocations: 326.9 kB / 1.38 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/1.66, allocations: 29.64 kB / 1.38 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/1.66, allocations: 214.8 kB / 1.38 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/1.66, allocations: 62.38 kB / 1.38 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/1.66, allocations: 0 / 1.38 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.66, allocations: 341.3 kB / 1.381 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/1.661, allocations: 59.98 kB / 1.381 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/1.661, allocations: 108.2 kB / 1.381 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/1.661, allocations: 69.11 kB / 1.381 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.661, allocations: 0 / 1.381 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002908/1.661, allocations: 215.4 kB / 1.381 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.661, allocations: 5.312 kB / 1.381 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.661, allocations: 7.938 kB / 1.381 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.661, allocations: 0 / 1.381 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/1.661, allocations: 47.88 kB / 1.381 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/1.661, allocations: 0 / 1.381 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/1.661, allocations: 21.81 kB / 1.381 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/1.662, allocations: 6.875 kB / 1.381 GB, free: 30.5 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.0001063/1.662, allocations: 117.3 kB / 1.381 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/1.662, allocations: 42.69 kB / 1.381 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/1.662, allocations: 225.6 kB / 1.382 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.662, allocations: 2.484 kB / 1.382 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.662, allocations: 3.875 kB / 1.382 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.662, allocations: 0 / 1.382 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006963/1.663, allocations: 0.6617 MB / 1.382 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.663, allocations: 3.938 kB / 1.382 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/1.663, allocations: 40.25 kB / 1.382 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.663, allocations: 3.938 kB / 1.382 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/1.663, allocations: 11.83 kB / 1.382 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.663, allocations: 0 / 1.382 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.663, allocations: 0 / 1.382 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/1.664, allocations: 424.8 kB / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.664, allocations: 141.9 kB / 1.383 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/1.664, allocations: 0 / 1.383 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/1.664, allocations: 15.55 kB / 1.383 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/1.664, allocations: 19.47 kB / 1.383 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/1.664, allocations: 11.09 kB / 1.383 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000243/1.664, allocations: 253 kB / 1.383 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.664, allocations: 3.812 kB / 1.383 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003212/1.665, allocations: 77.2 kB / 1.383 GB, free: 29.58 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.0008378/1.665, allocations: 374.5 kB / 1.384 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002837/1.666, allocations: 159.1 kB / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.666, allocations: 0 / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/1.666, allocations: 89.3 kB / 1.384 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/1.666, allocations: 72.27 kB / 1.384 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/1.667, allocations: 455.2 kB / 1.384 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/1.668, allocations: 0.807 MB / 1.385 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001675/1.668, allocations: 45.28 kB / 1.385 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/1.668, allocations: 30.67 kB / 1.385 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.668, allocations: 0 / 1.385 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.007211/1.675, allocations: 3.671 MB / 1.389 GB, free: 26.52 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (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 & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches