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: 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_9_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_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001989/0.001989, allocations: 177.1 kB / 498.1 MB, free: 5.742 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.707/1.707, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001186/0.001186, allocations: 100 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004825, allocations: 10.38 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4302, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/0.6702, allocations: 159.3 MB / 1.378 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.6706, allocations: 95.88 kB / 1.379 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02789/0.6985, allocations: 9.057 MB / 1.387 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.277e-06/0.6986, allocations: 0 / 1.387 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.546e-05/0.6987, allocations: 12 kB / 1.387 GB, free: 9.578 MB / 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.001885/0.7006, allocations: 0.6667 MB / 1.388 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.7007, allocations: 12.03 kB / 1.388 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.7009, allocations: 51.39 kB / 1.388 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.702, allocations: 405.5 kB / 1.389 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.7021, allocations: 20.56 kB / 1.389 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.384e-05/0.7022, allocations: 20 kB / 1.389 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007727/0.703, allocations: 296.5 kB / 1.389 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.703, allocations: 0 / 1.389 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.7031, allocations: 12 kB / 1.389 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.7031, allocations: 4 kB / 1.389 GB, free: 8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.7036, allocations: 214 kB / 1.389 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.7056, allocations: 0.8461 MB / 1.39 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/0.7065, allocations: 275 kB / 1.39 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.7066, allocations: 4 kB / 1.39 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.707, allocations: 160.8 kB / 1.39 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 3.526e-06/0.707, allocations: 3.938 kB / 1.39 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.0009841/0.708, allocations: 334.3 kB / 1.391 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.7081, allocations: 118.8 kB / 1.391 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.7087, allocations: 372.8 kB / 1.391 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.7088, allocations: 33.7 kB / 1.391 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.709, allocations: 208.3 kB / 1.391 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.7091, allocations: 59.11 kB / 1.391 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.7091, allocations: 4 kB / 1.391 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.7094, allocations: 350.8 kB / 1.392 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.7096, allocations: 87.89 kB / 1.392 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.7099, allocations: 120.2 kB / 1.392 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.7101, allocations: 92.69 kB / 1.392 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7102, allocations: 0 / 1.392 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006459/0.7108, allocations: 266.3 kB / 1.392 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.7109, allocations: 8 kB / 1.392 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.7109, allocations: 64 / 1.392 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.7109, allocations: 4 kB / 1.392 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.7111, allocations: 47.91 kB / 1.392 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.7112, allocations: 0 / 1.392 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.7114, allocations: 39.69 kB / 1.392 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.7114, allocations: 4 kB / 1.392 GB, free: 4.254 MB / 0.8855 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.0002709/0.7117, allocations: 173.5 kB / 1.393 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.7118, allocations: 39.53 kB / 1.393 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006703/0.7125, allocations: 278 kB / 1.393 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.7125, allocations: 4 kB / 1.393 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.7125, allocations: 0 / 1.393 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.7125, allocations: 3.984 kB / 1.393 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.7139, allocations: 0.7568 MB / 1.394 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7139, allocations: 3.984 kB / 1.394 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.7141, allocations: 31.98 kB / 1.394 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.7141, allocations: 0 / 1.394 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.7141, allocations: 12 kB / 1.394 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.7141, allocations: 3.938 kB / 1.394 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7142, allocations: 7.938 kB / 1.394 GB, free: 2.883 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.7151, allocations: 476.8 kB / 1.394 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.7153, allocations: 152.6 kB / 1.394 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.7154, allocations: 4 kB / 1.394 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.7156, allocations: 11.98 kB / 1.394 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.7157, allocations: 23.92 kB / 1.394 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.7157, allocations: 12 kB / 1.394 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004406/0.7162, allocations: 299.1 kB / 1.395 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.408e-06/0.7162, allocations: 4.062 kB / 1.395 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004377/0.7166, allocations: 83.7 kB / 1.395 GB, free: 1.809 MB / 0.8855 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.001204/0.7178, allocations: 429.1 kB / 1.395 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005955/0.7184, allocations: 208.8 kB / 1.395 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7185, allocations: 0 / 1.395 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.7187, allocations: 107.9 kB / 1.395 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.7193, allocations: 80.95 kB / 1.395 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.721, allocations: 0.7379 MB / 1.396 GB, free: 396 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.7215, allocations: 0.8034 MB / 1.397 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002473/0.7218, allocations: 46.95 kB / 1.397 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.7219, allocations: 39.42 kB / 1.397 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of SimCode: time 1.012e-06/0.722, allocations: 4 kB / 1.397 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of Templates: time 0.01111/0.7331, allocations: 4.05 MB / 1.401 GB, free: 11.47 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (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 & ./Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches