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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001435/0.001435, allocations: 104.1 kB / 15.98 MB, free: 6.352 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.001463/0.001463, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.48/1.48, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 469.4 MB / 0.7423 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001642, allocations: 59.69 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4281, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004816/0.433, allocations: 2.859 MB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.4354, allocations: 1.321 MB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.4357, allocations: 11.94 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.4362, allocations: 127.5 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.4366, allocations: 123.5 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.4372, allocations: 276 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.4378, allocations: 479.4 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.4381, allocations: 198.8 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.4384, allocations: 187.1 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.4386, allocations: 203.1 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.272e-05/0.4387, allocations: 36 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.4388, allocations: 71.98 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.439, allocations: 99.56 kB / 1.07 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.4391, allocations: 186.9 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.4396, allocations: 415.1 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4396, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4396, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4397, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8419 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.001173/0.4408, allocations: 0.7165 MB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4409, allocations: 8.625 kB / 1.071 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.505e-05/0.441, allocations: 44.38 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.4415, allocations: 394.6 kB / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.4416, allocations: 20.88 kB / 1.071 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.4416, allocations: 32.11 kB / 1.071 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.4422, allocations: 279.7 kB / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4422, allocations: 0 / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.4422, allocations: 8 kB / 1.072 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.4422, allocations: 4 kB / 1.072 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.4427, allocations: 194 kB / 1.072 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.444, allocations: 0.8842 MB / 1.073 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.4447, allocations: 226.9 kB / 1.073 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.4449, allocations: 92.81 kB / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.4449, allocations: 4 kB / 1.073 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/0.4453, allocations: 143.2 kB / 1.073 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.4453, allocations: 0 / 1.073 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.000713/0.4461, allocations: 290.8 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.4461, allocations: 51.41 kB / 1.073 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.4466, allocations: 417.7 kB / 1.074 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.4466, allocations: 25.7 kB / 1.074 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.4468, allocations: 212.1 kB / 1.074 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.4469, allocations: 63.17 kB / 1.074 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.4469, allocations: 53.84 kB / 1.074 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4471, allocations: 350.7 kB / 1.074 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.4473, allocations: 76.42 kB / 1.075 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.4475, allocations: 114 kB / 1.075 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.4479, allocations: 192.4 kB / 1.075 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4479, allocations: 0 / 1.075 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004849/0.4484, allocations: 257 kB / 1.075 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4484, allocations: 8 kB / 1.075 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4484, allocations: 0 / 1.075 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4484, allocations: 4 kB / 1.075 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.4486, allocations: 43.91 kB / 1.075 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4487, allocations: 4 kB / 1.075 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.4488, allocations: 27.77 kB / 1.075 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.4488, allocations: 12 kB / 1.075 GB, free: 3.352 MB / 0.8419 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.0001836/0.449, allocations: 171.8 kB / 1.075 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.4491, allocations: 35.53 kB / 1.075 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.4492, allocations: 39.59 kB / 1.075 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4492, allocations: 4 kB / 1.075 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4492, allocations: 0 / 1.075 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4492, allocations: 11.86 kB / 1.075 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/0.4502, allocations: 0.6872 MB / 1.076 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4502, allocations: 0 / 1.076 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.4503, allocations: 23.98 kB / 1.076 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4504, allocations: 4 kB / 1.076 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.4504, allocations: 11.92 kB / 1.076 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4504, allocations: 0 / 1.076 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4504, allocations: 4 kB / 1.076 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.4511, allocations: 424.9 kB / 1.077 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.4513, allocations: 124.7 kB / 1.077 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.4513, allocations: 3.938 kB / 1.077 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.4515, allocations: 11.98 kB / 1.077 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.4515, allocations: 15.98 kB / 1.077 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.4516, allocations: 11.98 kB / 1.077 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002893/0.4519, allocations: 291.2 kB / 1.077 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4519, allocations: 0 / 1.077 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003303/0.4522, allocations: 75.75 kB / 1.077 GB, free: 1.332 MB / 0.8419 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.001095/0.4533, allocations: 429.8 kB / 1.077 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.4538, allocations: 183.8 kB / 1.078 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4538, allocations: 3.938 kB / 1.078 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.454, allocations: 92.2 kB / 1.078 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.4546, allocations: 89.97 kB / 1.078 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7136/1.168, allocations: 0.7678 MB / 1.079 GB, free: 22.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008175/1.169, allocations: 0.7927 MB / 1.079 GB, free: 21.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/1.169, allocations: 36.19 kB / 1.079 GB, free: 21.65 MB / 0.8419 GB Notification: Performance of SimCode: time 1.573e-06/1.169, allocations: 0 / 1.079 GB, free: 21.65 MB / 0.8419 GB Notification: Performance of Templates: time 0.02067/1.19, allocations: 4.696 MB / 1.084 GB, free: 21.34 MB / 0.8419 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/jenkins1/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