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.00843/0.00843, allocations: 102 kB / 15.73 MB, free: 6.055 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.001917/0.001917, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.319/1.319, 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 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9493/0.9505, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003887/0.9544, allocations: 2.819 MB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.9567, allocations: 1.356 MB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.957, allocations: 11.59 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.9576, allocations: 139.6 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.958, allocations: 147.3 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.9587, allocations: 310.5 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.9592, allocations: 480.7 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.9596, allocations: 202.8 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.9598, allocations: 192.8 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.9601, allocations: 198.4 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.9602, allocations: 38.22 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.9604, allocations: 77.02 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.9605, allocations: 94.61 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.9606, allocations: 180.7 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007098/0.9614, allocations: 0.5346 MB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9614, allocations: 0.875 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9614, allocations: 4 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.9614, allocations: 0 / 1.094 GB, free: 1.25 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.001038/0.9624, allocations: 0.6958 MB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.9625, allocations: 9.922 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.219e-05/0.9626, allocations: 46.53 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.9632, allocations: 415.6 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.9632, allocations: 27.16 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.9633, allocations: 28.05 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.9639, allocations: 269.2 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.9639, allocations: 4 kB / 1.096 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.9639, allocations: 10.98 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.9639, allocations: 6.25 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.9644, allocations: 183.4 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.9659, allocations: 0.8715 MB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/0.9667, allocations: 224.9 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.9669, allocations: 95.38 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.967, allocations: 6.766 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.9673, allocations: 136.1 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 4.478e-06/0.9673, allocations: 4.859 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.0007541/0.9681, allocations: 291.2 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.9681, allocations: 58.28 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.9686, allocations: 409.5 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.9686, allocations: 31.39 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.9688, allocations: 212.3 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.9689, allocations: 61.64 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.969, allocations: 53.11 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9691, allocations: 351.8 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.9693, allocations: 68.53 kB / 1.099 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.9695, allocations: 116.7 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.9699, allocations: 190.8 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.9699, allocations: 1.156 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005292/0.9704, allocations: 256.9 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.9705, allocations: 12.47 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9705, allocations: 2.094 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.9705, allocations: 2.922 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.9707, allocations: 46.22 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.9707, allocations: 6.125 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.9709, allocations: 26.95 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.9709, allocations: 6.891 kB / 1.1 GB, free: 13.92 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.0001713/0.9711, allocations: 175.5 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.9712, allocations: 36.25 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.483e-05/0.9713, allocations: 41.53 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.9713, allocations: 3.156 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.9713, allocations: 3.938 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.9713, allocations: 1.406 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.9723, allocations: 0.6818 MB / 1.1 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9724, allocations: 1.703 kB / 1.1 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.9725, allocations: 35.53 kB / 1.1 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.9726, allocations: 5 kB / 1.1 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.9726, allocations: 6.938 kB / 1.1 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.9726, allocations: 1.672 kB / 1.1 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.9726, allocations: 1.188 kB / 1.1 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.9734, allocations: 417.8 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.9735, allocations: 131.3 kB / 1.101 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.9736, allocations: 7.453 kB / 1.101 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.9737, allocations: 14.5 kB / 1.101 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.9738, allocations: 21.77 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.9738, allocations: 6.797 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003426/0.9742, allocations: 293.9 kB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9742, allocations: 0 / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003654/0.9746, allocations: 65.83 kB / 1.101 GB, free: 12.69 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.000976/0.9756, allocations: 413.5 kB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.9761, allocations: 181.4 kB / 1.102 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.9761, allocations: 0 / 1.102 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.9763, allocations: 90.12 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.9769, allocations: 104.3 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.9782, allocations: 0.6085 MB / 1.103 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.9787, allocations: 0.7979 MB / 1.104 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.9788, allocations: 40.69 kB / 1.104 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.9789, allocations: 33.55 kB / 1.104 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.9789, allocations: 1.156 kB / 1.104 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of Templates: time 0.009591/0.9885, allocations: 3.797 MB / 1.107 GB, free: 10.95 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