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.41/2.41, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.000961/0.000961, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.462/1.462, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0008743/0.0008741, allocations: 95.14 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.928e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2873, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.319, allocations: 159.2 MB / 1.368 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.319, allocations: 98.81 kB / 1.368 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02152/1.34, allocations: 9.016 MB / 1.377 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.341, allocations: 4 kB / 1.377 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.962e-05/1.341, allocations: 15.22 kB / 1.377 GB, free: 34.17 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.0008065/1.341, allocations: 0.6156 MB / 1.377 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.341, allocations: 11.69 kB / 1.377 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/1.342, allocations: 50.05 kB / 1.377 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/1.342, allocations: 395 kB / 1.378 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/1.342, allocations: 14.81 kB / 1.378 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/1.342, allocations: 26.12 kB / 1.378 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/1.343, allocations: 270 kB / 1.378 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.343, allocations: 7.906 kB / 1.378 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/1.343, allocations: 10 kB / 1.378 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.343, allocations: 11.81 kB / 1.378 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/1.343, allocations: 174.6 kB / 1.378 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/1.344, allocations: 0.8419 MB / 1.379 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/1.345, allocations: 240.6 kB / 1.379 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/1.345, allocations: 85.5 kB / 1.379 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/1.345, allocations: 3.125 kB / 1.379 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/1.345, allocations: 143.2 kB / 1.38 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.764e-06/1.345, allocations: 0 / 1.38 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0004124/1.346, allocations: 231.8 kB / 1.38 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/1.346, allocations: 106.7 kB / 1.38 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/1.346, allocations: 378.9 kB / 1.38 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/1.346, allocations: 28.89 kB / 1.38 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.346, allocations: 211.6 kB / 1.381 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/1.346, allocations: 64.31 kB / 1.381 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/1.346, allocations: 3.062 kB / 1.381 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.346, allocations: 349.3 kB / 1.381 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/1.347, allocations: 69.39 kB / 1.381 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/1.347, allocations: 111.1 kB / 1.381 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/1.347, allocations: 67.97 kB / 1.381 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.347, allocations: 7.875 kB / 1.381 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003129/1.347, allocations: 236.2 kB / 1.381 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.347, allocations: 7.5 kB / 1.381 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.347, allocations: 0 / 1.381 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.347, allocations: 0 / 1.381 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/1.347, allocations: 45.88 kB / 1.381 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.347, allocations: 7.672 kB / 1.381 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/1.348, allocations: 30.05 kB / 1.381 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/1.348, allocations: 6.375 kB / 1.382 GB, free: 31.82 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 9.387e-05/1.348, allocations: 123.8 kB / 1.382 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/1.348, allocations: 38.16 kB / 1.382 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/1.348, allocations: 246.2 kB / 1.382 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/1.348, allocations: 0 / 1.382 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.348, allocations: 0 / 1.382 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.348, allocations: 11.92 kB / 1.382 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/1.349, allocations: 0.723 MB / 1.383 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.349, allocations: 0 / 1.383 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/1.349, allocations: 34.52 kB / 1.383 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.349, allocations: 0 / 1.383 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/1.349, allocations: 11.73 kB / 1.383 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.349, allocations: 3.953 kB / 1.383 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.349, allocations: 0 / 1.383 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/1.35, allocations: 442.3 kB / 1.383 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/1.35, allocations: 154.1 kB / 1.383 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/1.35, allocations: 3.312 kB / 1.383 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/1.35, allocations: 14.55 kB / 1.383 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/1.35, allocations: 22.42 kB / 1.383 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/1.35, allocations: 10.41 kB / 1.383 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002594/1.35, allocations: 298.6 kB / 1.384 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.35, allocations: 64 / 1.384 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003189/1.351, allocations: 75.95 kB / 1.384 GB, free: 30.73 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.0008786/1.352, allocations: 381 kB / 1.384 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000295/1.352, allocations: 176.3 kB / 1.384 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.352, allocations: 0 / 1.384 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/1.352, allocations: 94.17 kB / 1.384 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/1.353, allocations: 77.05 kB / 1.384 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/1.353, allocations: 483.7 kB / 1.385 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/1.354, allocations: 0.8072 MB / 1.386 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001718/1.354, allocations: 54.09 kB / 1.386 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/1.354, allocations: 33.55 kB / 1.386 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.354, allocations: 0 / 1.386 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of Templates: time 0.007144/1.361, allocations: 4.07 MB / 1.39 GB, free: 27.48 MB / 0.8386 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