Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 173 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009788/0.000979, allocations: 82.55 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.381e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2294, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8087/1.038, allocations: 141.4 MB / 1.03 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.039, allocations: 98.03 kB / 1.03 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02364/1.062, allocations: 8.936 MB / 1.039 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.003e-06/1.062, allocations: 0 / 1.039 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.436e-05/1.062, allocations: 11.98 kB / 1.039 GB, free: 1.879 MB / 0.6511 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.001051/1.063, allocations: 0.608 MB / 1.039 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/1.064, allocations: 8.031 kB / 1.039 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/1.064, allocations: 51.39 kB / 1.039 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/1.064, allocations: 395.2 kB / 1.04 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/1.064, allocations: 21.19 kB / 1.04 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/1.064, allocations: 23.19 kB / 1.04 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/1.065, allocations: 273.6 kB / 1.04 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.065, allocations: 0 / 1.04 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/1.065, allocations: 14.19 kB / 1.04 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/1.065, allocations: 4 kB / 1.04 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/1.065, allocations: 178.6 kB / 1.04 GB, free: 488 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/1.067, allocations: 0.8507 MB / 1.041 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/1.068, allocations: 241.5 kB / 1.041 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/1.068, allocations: 86.77 kB / 1.041 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/1.068, allocations: 0 / 1.041 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/1.068, allocations: 140.8 kB / 1.041 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=21): time 1.714e-06/1.068, allocations: 0 / 1.041 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.0004537/1.069, allocations: 231.5 kB / 1.042 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/1.069, allocations: 110.8 kB / 1.042 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/1.069, allocations: 382.9 kB / 1.042 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/1.069, allocations: 29.45 kB / 1.042 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/1.069, allocations: 206 kB / 1.042 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/1.069, allocations: 65.81 kB / 1.042 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/1.069, allocations: 3.062 kB / 1.042 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.07, allocations: 346.5 kB / 1.043 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/1.07, allocations: 64.06 kB / 1.043 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/1.07, allocations: 114 kB / 1.043 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/1.07, allocations: 69.86 kB / 1.043 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.07, allocations: 0 / 1.043 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003752/1.07, allocations: 232.2 kB / 1.043 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.07, allocations: 9.234 kB / 1.043 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.07, allocations: 8.094 kB / 1.043 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.07, allocations: 3.938 kB / 1.043 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/1.071, allocations: 42.42 kB / 1.043 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/1.071, allocations: 11.94 kB / 1.043 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/1.071, allocations: 22.84 kB / 1.043 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/1.071, allocations: 4 kB / 1.043 GB, free: 13.81 MB / 0.6667 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.0001301/1.071, allocations: 123.4 kB / 1.043 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/1.071, allocations: 47.52 kB / 1.044 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/1.072, allocations: 249.1 kB / 1.044 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.072, allocations: 0 / 1.044 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.072, allocations: 0 / 1.044 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.072, allocations: 7.891 kB / 1.044 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009269/1.073, allocations: 0.7285 MB / 1.044 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.073, allocations: 0 / 1.044 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/1.073, allocations: 42.78 kB / 1.045 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.073, allocations: 4 kB / 1.045 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/1.073, allocations: 3.812 kB / 1.045 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.073, allocations: 3.953 kB / 1.045 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.073, allocations: 4 kB / 1.045 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/1.074, allocations: 427.4 kB / 1.045 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/1.074, allocations: 147 kB / 1.045 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/1.074, allocations: 6.938 kB / 1.045 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/1.074, allocations: 23.98 kB / 1.045 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/1.074, allocations: 23.8 kB / 1.045 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/1.074, allocations: 4 kB / 1.045 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003342/1.074, allocations: 299.6 kB / 1.045 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.81e-07/1.074, allocations: 0 / 1.045 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003629/1.075, allocations: 77.97 kB / 1.046 GB, free: 11.97 MB / 0.6667 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.0009713/1.076, allocations: 395.8 kB / 1.046 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003463/1.076, allocations: 169 kB / 1.046 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.076, allocations: 0 / 1.046 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/1.076, allocations: 101.7 kB / 1.046 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/1.077, allocations: 76.77 kB / 1.046 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009458/1.078, allocations: 467.5 kB / 1.047 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/1.078, allocations: 0.8061 MB / 1.047 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001854/1.078, allocations: 46.95 kB / 1.047 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/1.079, allocations: 27.44 kB / 1.048 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of SimCode: time 2.21e-07/1.079, allocations: 0 / 1.048 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of Templates: time 0.008595/1.087, allocations: 4.082 MB / 1.052 GB, free: 6.082 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches