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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008559/0.008559, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 197.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.555/2.555, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 55.91 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8645, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004073/0.8686, allocations: 2.839 MB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.8709, allocations: 1.329 MB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.8711, allocations: 11.94 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.8716, allocations: 155.1 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.872, allocations: 143.2 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.8727, allocations: 308.1 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004768/0.8732, allocations: 487.5 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.8735, allocations: 190.5 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.8738, allocations: 191.2 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.874, allocations: 195.1 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.8741, allocations: 36 kB / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.8742, allocations: 83.92 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.8743, allocations: 91.69 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.8745, allocations: 186.8 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.875, allocations: 0.5233 MB / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.875, allocations: 0 / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.853e-06/0.875, allocations: 0 / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.875, allocations: 0 / 1.214 GB, free: 6.84 MB / 0.9356 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.001067/0.8761, allocations: 0.7126 MB / 1.215 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8762, allocations: 12.03 kB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/0.8763, allocations: 44.38 kB / 1.215 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.8769, allocations: 406.6 kB / 1.215 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.8769, allocations: 20.94 kB / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.8769, allocations: 32.11 kB / 1.215 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.8774, allocations: 271.7 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.8775, allocations: 3.984 kB / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.8775, allocations: 8 kB / 1.216 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.8775, allocations: 8 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.8779, allocations: 186.2 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.8792, allocations: 0.8685 MB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/0.88, allocations: 235 kB / 1.217 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.8802, allocations: 80.83 kB / 1.217 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.8802, allocations: 4 kB / 1.217 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.8805, allocations: 144.6 kB / 1.217 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 3.156e-06/0.8806, allocations: 0 / 1.217 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.000704/0.8813, allocations: 291.4 kB / 1.217 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.8813, allocations: 55.41 kB / 1.218 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.8817, allocations: 417.7 kB / 1.218 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.8818, allocations: 29.64 kB / 1.218 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.8819, allocations: 220 kB / 1.218 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.882, allocations: 67.03 kB / 1.218 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.8821, allocations: 49.94 kB / 1.218 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8822, allocations: 350.7 kB / 1.219 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.8824, allocations: 68.42 kB / 1.219 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.8826, allocations: 118 kB / 1.219 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.883, allocations: 187.9 kB / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.883, allocations: 0 / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005045/0.8835, allocations: 257 kB / 1.219 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.8835, allocations: 4 kB / 1.219 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.8836, allocations: 0 / 1.219 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.8836, allocations: 8.156 kB / 1.219 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.8838, allocations: 47.91 kB / 1.219 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.8838, allocations: 4 kB / 1.219 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.884, allocations: 27.77 kB / 1.219 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.884, allocations: 8 kB / 1.219 GB, free: 1.395 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.nextTimeEvent,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.y,$whenCondition2,dxSpeCon.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.8842, allocations: 169.7 kB / 1.219 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.8842, allocations: 35.53 kB / 1.22 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.8843, allocations: 47.58 kB / 1.22 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.8843, allocations: 7.984 kB / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.8843, allocations: 0 / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.8844, allocations: 3.938 kB / 1.22 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009242/0.8853, allocations: 0.6739 MB / 1.22 GB, free: 404 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8853, allocations: 0 / 1.22 GB, free: 404 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.8855, allocations: 27.98 kB / 1.22 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8855, allocations: 4 kB / 1.22 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.8855, allocations: 15.92 kB / 1.22 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.8855, allocations: 0 / 1.22 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8855, allocations: 0 / 1.22 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.8863, allocations: 425 kB / 1.221 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.8864, allocations: 132.6 kB / 1.221 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.8865, allocations: 16 kB / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.8866, allocations: 11.98 kB / 1.221 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.8867, allocations: 15.98 kB / 1.221 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.8867, allocations: 7.984 kB / 1.221 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002824/0.887, allocations: 295.2 kB / 1.221 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.887, allocations: 0 / 1.221 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003371/0.8874, allocations: 63.84 kB / 1.221 GB, free: 15.37 MB / 0.9512 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.not1.y,$whenCondition2,$whenCondition1,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009652/0.8883, allocations: 419.6 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.8888, allocations: 171.8 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8888, allocations: 4 kB / 1.222 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.889, allocations: 91.84 kB / 1.222 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.8896, allocations: 117.1 kB / 1.222 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.8907, allocations: 0.603 MB / 1.223 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.891, allocations: 0.7992 MB / 1.223 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.8912, allocations: 46.88 kB / 1.223 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.8913, allocations: 35.44 kB / 1.223 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.8913, allocations: 3.938 kB / 1.223 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of Templates: time 0.007941/0.8992, allocations: 3.882 MB / 1.227 GB, free: 9.375 MB / 0.9512 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches