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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008193/0.008193, allocations: 97.47 kB / 15.73 MB, free: 6.008 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.001673/0.001673, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 71.88 kB / 0.9508 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8528/0.8542, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004791/0.859, allocations: 2.83 MB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.8615, allocations: 1.342 MB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.8618, allocations: 15.75 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.8624, allocations: 147.6 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.8628, allocations: 147.6 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.8635, allocations: 302 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006769/0.8642, allocations: 476.8 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.8646, allocations: 211.7 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.865, allocations: 188.8 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.8653, allocations: 202.4 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.218e-05/0.8654, allocations: 38.12 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.8656, allocations: 76.14 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.8658, allocations: 91.84 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.8659, allocations: 183.7 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008324/0.8668, allocations: 0.5292 MB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.8668, allocations: 2.031 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8668, allocations: 0 / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.8668, allocations: 0 / 1.094 GB, free: 1.258 MB / 0.8575 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.001191/0.868, allocations: 0.7257 MB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.8681, allocations: 9.406 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.8682, allocations: 51.19 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007257/0.8689, allocations: 417 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.869, allocations: 21.91 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.869, allocations: 24.23 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.8697, allocations: 272.8 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.8697, allocations: 0 / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.8697, allocations: 10.94 kB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.8698, allocations: 6.062 kB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/0.8702, allocations: 188.7 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.8718, allocations: 0.8705 MB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.8726, allocations: 230 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.8729, allocations: 87.8 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.8729, allocations: 1.781 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.8733, allocations: 141 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.8733, allocations: 0 / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.0008323/0.8741, allocations: 288.4 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.8742, allocations: 54.64 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.8748, allocations: 416.6 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.8748, allocations: 31.55 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.875, allocations: 217.2 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.147e-05/0.8751, allocations: 64.78 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.775e-05/0.8752, allocations: 53.48 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.8753, allocations: 351.6 kB / 1.099 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.8755, allocations: 69.3 kB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.8758, allocations: 127.7 kB / 1.099 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.8762, allocations: 180.1 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.8762, allocations: 6.188 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005907/0.8768, allocations: 256.7 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.8769, allocations: 6.078 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8769, allocations: 1 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.8769, allocations: 3.281 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.8771, allocations: 49.91 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.8772, allocations: 16.25 kB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.8773, allocations: 16.61 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.8774, allocations: 11.86 kB / 1.1 GB, free: 13.89 MB / 0.8731 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.0001981/0.8776, allocations: 172.8 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.8776, allocations: 41.91 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.8777, allocations: 39.48 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.8778, allocations: 3.484 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.8778, allocations: 7.938 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8778, allocations: 1.969 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.8789, allocations: 0.6766 MB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8789, allocations: 0 / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.8791, allocations: 28.92 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.8791, allocations: 5.031 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.8791, allocations: 7.672 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8791, allocations: 1.719 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8791, allocations: 4 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.8799, allocations: 420.6 kB / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.8801, allocations: 136.3 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.8802, allocations: 1.938 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.8803, allocations: 14.56 kB / 1.101 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.8804, allocations: 21.31 kB / 1.101 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.8805, allocations: 6.547 kB / 1.101 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003819/0.8808, allocations: 294.9 kB / 1.101 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8809, allocations: 0 / 1.101 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003801/0.8812, allocations: 69.72 kB / 1.101 GB, free: 12.66 MB / 0.8731 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.001052/0.8823, allocations: 431.1 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.8828, allocations: 177.3 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8828, allocations: 0.5 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.8831, allocations: 89.86 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.8837, allocations: 92.27 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.885, allocations: 0.6258 MB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.8856, allocations: 0.8026 MB / 1.104 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.8857, allocations: 39.52 kB / 1.104 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.8858, allocations: 35.12 kB / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8858, allocations: 0 / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.009596/0.8954, allocations: 3.811 MB / 1.107 GB, free: 10.89 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches