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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001546/0.001546, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002852/0.002852, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.978/2.978, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.84 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4237, allocations: 159.9 MB / 1.226 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004979/0.4288, allocations: 2.825 MB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002767/0.4316, allocations: 1.352 MB / 1.23 GB, free: 5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.4319, allocations: 11.94 kB / 1.23 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.4325, allocations: 147.2 kB / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.4329, allocations: 143.1 kB / 1.23 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.4336, allocations: 306 kB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.4341, allocations: 483.5 kB / 1.231 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.4345, allocations: 202.5 kB / 1.231 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.4347, allocations: 187.1 kB / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.435, allocations: 191.1 kB / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.259e-05/0.4351, allocations: 40 kB / 1.231 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.4353, allocations: 79.97 kB / 1.231 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4354, allocations: 91.62 kB / 1.231 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.4356, allocations: 190.9 kB / 1.232 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007455/0.4364, allocations: 0.5328 MB / 1.232 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4364, allocations: 0 / 1.232 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4364, allocations: 0 / 1.232 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.4364, allocations: 0 / 1.232 GB, free: 2.426 MB / 0.9825 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.00121/0.4376, allocations: 0.72 MB / 1.233 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4377, allocations: 8.031 kB / 1.233 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.4377, allocations: 48.66 kB / 1.233 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.4384, allocations: 418.8 kB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.4385, allocations: 16.94 kB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.4385, allocations: 28.12 kB / 1.233 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.4391, allocations: 271.7 kB / 1.234 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4392, allocations: 4 kB / 1.234 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.4392, allocations: 19.92 kB / 1.234 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4392, allocations: 7.984 kB / 1.234 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.4396, allocations: 190.1 kB / 1.234 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.441, allocations: 0.8649 MB / 1.235 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.4418, allocations: 223 kB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.442, allocations: 96.81 kB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.442, allocations: 0 / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/0.4423, allocations: 140.8 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.4423, allocations: 0 / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0007132/0.4431, allocations: 294.8 kB / 1.235 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.4431, allocations: 55.41 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.4436, allocations: 409.6 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.4436, allocations: 33.7 kB / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.4438, allocations: 216.3 kB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.4438, allocations: 63.47 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.444, allocations: 53.92 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002413/0.4443, allocations: 350.7 kB / 1.237 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.4444, allocations: 72.38 kB / 1.237 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.4446, allocations: 115.2 kB / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.4451, allocations: 187.1 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4451, allocations: 0 / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004948/0.4456, allocations: 267.1 kB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4457, allocations: 5.406 kB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.4457, allocations: 4 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4457, allocations: 0 / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.4459, allocations: 47.91 kB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4459, allocations: 4 kB / 1.237 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.4461, allocations: 31.75 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.4461, allocations: 4 kB / 1.237 GB, free: 12.96 MB / 0.9981 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.0001727/0.4463, allocations: 180.6 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.4464, allocations: 35.77 kB / 1.237 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.781e-05/0.4464, allocations: 39.59 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.4465, allocations: 4 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4465, allocations: 3.938 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4465, allocations: 7.922 kB / 1.238 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/0.4474, allocations: 0.6817 MB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4474, allocations: 0 / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.4476, allocations: 31.97 kB / 1.238 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4476, allocations: 0 / 1.238 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.4476, allocations: 11.94 kB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4477, allocations: 0 / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4477, allocations: 7.984 kB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.4484, allocations: 428.8 kB / 1.239 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.4485, allocations: 128.8 kB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.4485, allocations: 7.938 kB / 1.239 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.4487, allocations: 8 kB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.4488, allocations: 19.97 kB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.4488, allocations: 4 kB / 1.239 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002857/0.4491, allocations: 299.1 kB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4491, allocations: 0 / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003257/0.4494, allocations: 67.89 kB / 1.239 GB, free: 10.93 MB / 0.9981 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.0009607/0.4504, allocations: 413.8 kB / 1.24 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005116/0.4509, allocations: 175.8 kB / 1.24 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4509, allocations: 0 / 1.24 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.4511, allocations: 93.42 kB / 1.24 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.4517, allocations: 98.95 kB / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4528, allocations: 0.6294 MB / 1.24 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.4532, allocations: 0.8029 MB / 1.241 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.4533, allocations: 42.95 kB / 1.241 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.4534, allocations: 31.42 kB / 1.241 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.4534, allocations: 4 kB / 1.241 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of Templates: time 0.008449/0.4619, allocations: 3.81 MB / 1.245 GB, free: 4.992 MB / 0.9981 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