Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001812/0.001812, allocations: 104.4 kB / 16.27 MB, free: 6.414 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.001885/0.001885, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437.1 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.97 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3545, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004905/0.3594, allocations: 2.841 MB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002566/0.362, allocations: 1.352 MB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.3624, allocations: 11.94 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.3629, allocations: 143.2 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.3634, allocations: 143.2 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.3641, allocations: 309 kB / 1.023 GB, free: 5.84 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.3647, allocations: 479.4 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.365, allocations: 198.8 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.3653, allocations: 191.2 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.3656, allocations: 183.2 kB / 1.024 GB, free: 4.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.455e-05/0.3657, allocations: 40 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.3658, allocations: 79.97 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3659, allocations: 95.62 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.3661, allocations: 190.8 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.3668, allocations: 0.5101 MB / 1.025 GB, free: 3.898 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3668, allocations: 0 / 1.025 GB, free: 3.898 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3668, allocations: 0 / 1.025 GB, free: 3.898 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.3668, allocations: 0 / 1.025 GB, free: 3.898 MB / 0.795 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.001244/0.368, allocations: 0.7067 MB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3681, allocations: 16.88 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3682, allocations: 48.31 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.3688, allocations: 402.7 kB / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.3688, allocations: 20.94 kB / 1.026 GB, free: 2.629 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.3689, allocations: 28.12 kB / 1.026 GB, free: 2.602 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.3694, allocations: 275.6 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3695, allocations: 0 / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.3695, allocations: 12 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3695, allocations: 4 kB / 1.026 GB, free: 2.309 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.3699, allocations: 186.2 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.3714, allocations: 0.8763 MB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007545/0.3722, allocations: 227 kB / 1.027 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.3724, allocations: 92.77 kB / 1.027 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.3724, allocations: 0 / 1.027 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.3728, allocations: 147.2 kB / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.3728, allocations: 0 / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0007319/0.3735, allocations: 283.1 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3736, allocations: 55.34 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.3741, allocations: 417.6 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.3741, allocations: 33.7 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.3743, allocations: 220 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.3744, allocations: 59.19 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/0.3745, allocations: 53.84 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3747, allocations: 350.7 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.3749, allocations: 68.42 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.3751, allocations: 122.9 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.3755, allocations: 188 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3755, allocations: 0 / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005211/0.376, allocations: 253.1 kB / 1.029 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3761, allocations: 4 kB / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3761, allocations: 8.156 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3761, allocations: 0 / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.3763, allocations: 47.91 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3763, allocations: 7.984 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3765, allocations: 27.69 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3765, allocations: 8 kB / 1.03 GB, free: 14.46 MB / 0.8106 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.0001779/0.3767, allocations: 168.2 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.3768, allocations: 35.53 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/0.3769, allocations: 47.58 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3769, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3769, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3769, allocations: 3.938 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.3779, allocations: 0.6777 MB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3779, allocations: 4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.3781, allocations: 35.91 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3781, allocations: 4 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3782, allocations: 11.94 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.3782, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3782, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007696/0.379, allocations: 423.4 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.3791, allocations: 128.8 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.3791, allocations: 7.938 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3793, allocations: 11.98 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.3794, allocations: 15.98 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.3794, allocations: 7.984 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003238/0.3797, allocations: 295.2 kB / 1.031 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3797, allocations: 0 / 1.031 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003419/0.3801, allocations: 71.69 kB / 1.031 GB, free: 12.44 MB / 0.8106 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.001538/0.3816, allocations: 438.2 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005294/0.3822, allocations: 183.8 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3822, allocations: 0 / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.3824, allocations: 89.95 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.383, allocations: 93.62 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3842, allocations: 0.6516 MB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.3847, allocations: 0.7951 MB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.3848, allocations: 35.44 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.3848, allocations: 3.938 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.008232/0.393, allocations: 4.691 MB / 1.038 GB, free: 5.602 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches