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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001052/0.001052, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009722/0.0009723, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.648/2.648, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9567/0.957, allocations: 153.7 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003358/0.9605, allocations: 2.403 MB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.9627, allocations: 1.22 MB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.963, allocations: 7.938 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.9634, allocations: 107.5 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.9638, allocations: 147.5 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.9644, allocations: 242.3 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000444/0.9648, allocations: 288 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.9651, allocations: 128.4 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.9653, allocations: 151.2 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.9655, allocations: 135.2 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.9656, allocations: 8 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.9657, allocations: 31.98 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.9658, allocations: 51.77 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.9659, allocations: 93.44 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.9663, allocations: 404.9 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9663, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9663, allocations: 3.938 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.9663, allocations: 4 kB / 1.026 GB, free: 11.67 MB / 0.7794 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.001056/0.9674, allocations: 0.6346 MB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.9674, allocations: 12.03 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.9675, allocations: 43.53 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.9681, allocations: 385.6 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.9681, allocations: 20.55 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.9682, allocations: 27.91 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.9687, allocations: 275.6 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.9687, allocations: 0 / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.9688, allocations: 12 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.9688, allocations: 8 kB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.9692, allocations: 182.2 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.9705, allocations: 0.8725 MB / 1.028 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.9712, allocations: 238.9 kB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.9713, allocations: 0 / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003485/0.9716, allocations: 143.3 kB / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.9716, allocations: 0 / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0006866/0.9723, allocations: 290.5 kB / 1.029 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.9724, allocations: 59.39 kB / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.9728, allocations: 417.6 kB / 1.03 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.9729, allocations: 25.7 kB / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.973, allocations: 216.1 kB / 1.03 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.9731, allocations: 59.11 kB / 1.03 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.9731, allocations: 8 kB / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9733, allocations: 346.8 kB / 1.03 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.9734, allocations: 68.42 kB / 1.03 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.9736, allocations: 118.2 kB / 1.03 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.9738, allocations: 88.81 kB / 1.03 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.9738, allocations: 4 kB / 1.03 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004801/0.9743, allocations: 258.6 kB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.9744, allocations: 8 kB / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9744, allocations: 0 / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9744, allocations: 8.156 kB / 1.031 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.9746, allocations: 47.91 kB / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.9746, allocations: 0 / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.9748, allocations: 23.84 kB / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.9748, allocations: 11.98 kB / 1.031 GB, free: 6.59 MB / 0.7794 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 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.not1.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled,reaToInt.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.975, allocations: 173.5 kB / 1.031 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.9751, allocations: 39.52 kB / 1.031 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.171e-05/0.9751, allocations: 47.53 kB / 1.031 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9752, allocations: 4 kB / 1.031 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9752, allocations: 0 / 1.031 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.9752, allocations: 3.938 kB / 1.031 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009356/0.9761, allocations: 0.6778 MB / 1.032 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.9761, allocations: 4 kB / 1.032 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.9763, allocations: 39.91 kB / 1.032 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.9763, allocations: 0 / 1.032 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.9764, allocations: 8 kB / 1.032 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9764, allocations: 0 / 1.032 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.9764, allocations: 0 / 1.032 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.9771, allocations: 431 kB / 1.032 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.9772, allocations: 140.6 kB / 1.032 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.9772, allocations: 3.938 kB / 1.032 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.9774, allocations: 8 kB / 1.032 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.9775, allocations: 19.97 kB / 1.032 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.9775, allocations: 8 kB / 1.032 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002905/0.9778, allocations: 295.2 kB / 1.033 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9778, allocations: 0 / 1.033 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003311/0.9782, allocations: 67.84 kB / 1.033 GB, free: 4.555 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009585/0.9791, allocations: 414 kB / 1.033 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.9796, allocations: 191.9 kB / 1.033 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9796, allocations: 0 / 1.033 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.9798, allocations: 91.89 kB / 1.033 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.9802, allocations: 70.89 kB / 1.033 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.9814, allocations: 0.7147 MB / 1.034 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.9818, allocations: 0.807 MB / 1.035 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.9819, allocations: 42.95 kB / 1.035 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.982, allocations: 31.44 kB / 1.035 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.982, allocations: 0 / 1.035 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of Templates: time 0.008283/0.9903, allocations: 3.458 MB / 1.038 GB, free: 14.89 MB / 0.795 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","../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches