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.001605/0.001605, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002999/0.002998, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.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.384/2.384, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.14 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.6851, allocations: 140.4 MB / 0.9489 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004083/0.6892, allocations: 2.869 MB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.6912, allocations: 1.321 MB / 0.953 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.6915, allocations: 11.5 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.6919, allocations: 121.4 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.6922, allocations: 122.4 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.6927, allocations: 275.7 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.6931, allocations: 440.7 kB / 0.9539 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.6934, allocations: 192.8 kB / 0.9541 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.6937, allocations: 156.8 kB / 0.9543 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.6939, allocations: 184.1 kB / 0.9544 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.6939, allocations: 15.31 kB / 0.9545 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.6941, allocations: 54.42 kB / 0.9545 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.6942, allocations: 72.5 kB / 0.9546 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.6943, allocations: 165.7 kB / 0.9547 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.6947, allocations: 0.4944 MB / 0.9552 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6947, allocations: 4 kB / 0.9552 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6947, allocations: 0 / 0.9552 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.6947, allocations: 3.938 kB / 0.9552 GB, free: 4.586 MB / 0.7169 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.000991/0.6957, allocations: 0.6986 MB / 0.9559 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6957, allocations: 7.562 kB / 0.9559 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/0.6958, allocations: 50.91 kB / 0.956 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.6963, allocations: 407.7 kB / 0.9564 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.6963, allocations: 23.03 kB / 0.9564 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.6964, allocations: 23.22 kB / 0.9564 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.6969, allocations: 275.8 kB / 0.9567 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6969, allocations: 0 / 0.9567 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.6969, allocations: 6.906 kB / 0.9567 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.697, allocations: 6.281 kB / 0.9567 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.6974, allocations: 191.2 kB / 0.9569 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.6986, allocations: 0.8714 MB / 0.9577 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.6993, allocations: 232.9 kB / 0.9579 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.6995, allocations: 87.36 kB / 0.958 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.6996, allocations: 3.531 kB / 0.958 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/0.7, allocations: 144.4 kB / 0.9582 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.7, allocations: 4 kB / 0.9582 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0007166/0.7007, allocations: 286.5 kB / 0.9584 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.7008, allocations: 53.72 kB / 0.9585 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.7012, allocations: 418.5 kB / 0.9589 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.7012, allocations: 27.86 kB / 0.9589 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.7014, allocations: 217.5 kB / 0.9591 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.7014, allocations: 62.8 kB / 0.9592 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/0.7015, allocations: 48.06 kB / 0.9592 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.7016, allocations: 352.5 kB / 0.9596 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.7018, allocations: 71.3 kB / 0.9596 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.702, allocations: 113.1 kB / 0.9597 GB, free: 1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.7023, allocations: 188.6 kB / 0.9599 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7023, allocations: 1.094 kB / 0.9599 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004696/0.7028, allocations: 257.9 kB / 0.9602 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.7028, allocations: 7.594 kB / 0.9602 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7028, allocations: 1.094 kB / 0.9602 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7029, allocations: 2.219 kB / 0.9602 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.7031, allocations: 50.81 kB / 0.9602 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.7031, allocations: 7.562 kB / 0.9602 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.7033, allocations: 26.7 kB / 0.9603 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.7033, allocations: 10.88 kB / 0.9603 GB, free: 0.6914 MB / 0.7169 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.00015/0.7035, allocations: 169.5 kB / 0.9604 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.7035, allocations: 40.56 kB / 0.9605 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.361e-05/0.7036, allocations: 38.88 kB / 0.9605 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7036, allocations: 2.344 kB / 0.9605 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.7036, allocations: 5.281 kB / 0.9605 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.7036, allocations: 3.984 kB / 0.9605 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008955/0.7045, allocations: 0.6758 MB / 0.9612 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7046, allocations: 0 / 0.9612 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.7047, allocations: 29.95 kB / 0.9612 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7047, allocations: 5.156 kB / 0.9612 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.7048, allocations: 10.36 kB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.7048, allocations: 1.281 kB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7048, allocations: 0 / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007708/0.7056, allocations: 430.1 kB / 0.9616 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.7057, allocations: 132.5 kB / 0.9618 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.7058, allocations: 1.125 kB / 0.9618 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.7059, allocations: 8.625 kB / 0.9618 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.706, allocations: 27 kB / 0.9618 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.706, allocations: 5.688 kB / 0.9618 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003086/0.7063, allocations: 297.7 kB / 0.9621 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7064, allocations: 0 / 0.9621 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000337/0.7067, allocations: 59.66 kB / 0.9621 GB, free: 15.27 MB / 0.7325 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.0009561/0.7077, allocations: 428.1 kB / 0.9625 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.7081, allocations: 175.4 kB / 0.9627 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7081, allocations: 1.25 kB / 0.9627 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.7084, allocations: 88.83 kB / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.709, allocations: 86.5 kB / 0.9629 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.7103, allocations: 0.7456 MB / 0.9636 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.7107, allocations: 0.8003 MB / 0.9644 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.7109, allocations: 42.47 kB / 0.9644 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.244e-05/0.711, allocations: 30.23 kB / 0.9645 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.711, allocations: 1.094 kB / 0.9645 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.008175/0.7192, allocations: 3.57 MB / 0.9679 GB, free: 11.83 MB / 0.7325 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