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.001995/0.001995, allocations: 108 kB / 15.6 MB, free: 132 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.00278/0.00278, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.553/1.553, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 69.28 kB / 0.9121 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4187, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005466/0.4243, allocations: 2.82 MB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002712/0.427, allocations: 1.356 MB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004832/0.4275, allocations: 11.94 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.4281, allocations: 143.2 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.4286, allocations: 143.2 kB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008018/0.4295, allocations: 306.7 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.4301, allocations: 479.4 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.4305, allocations: 190.8 kB / 1.074 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.4309, allocations: 191.1 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.4312, allocations: 187.1 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.445e-05/0.4313, allocations: 40 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.4315, allocations: 75.98 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.4316, allocations: 103.5 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.4318, allocations: 179 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.4324, allocations: 0.51 MB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4324, allocations: 0 / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4324, allocations: 7.938 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.4324, allocations: 0 / 1.075 GB, free: 3.652 MB / 0.8262 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.001181/0.4336, allocations: 0.7064 MB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4337, allocations: 12.03 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.4338, allocations: 48.38 kB / 1.076 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.4344, allocations: 406.7 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.4344, allocations: 16.94 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.4344, allocations: 28.12 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.435, allocations: 275.6 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.435, allocations: 0 / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.435, allocations: 12 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.435, allocations: 4 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.4355, allocations: 190.2 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.4368, allocations: 0.8801 MB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.4375, allocations: 227 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.4377, allocations: 90.38 kB / 1.078 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.4378, allocations: 7.922 kB / 1.078 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003612/0.4381, allocations: 135.3 kB / 1.078 GB, free: 472 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.4381, allocations: 4 kB / 1.078 GB, free: 468 kB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.000715/0.4389, allocations: 291.5 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.4389, allocations: 51.41 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.4393, allocations: 413.7 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.4394, allocations: 33.64 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.4395, allocations: 212.1 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.4396, allocations: 67.08 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.4397, allocations: 57.88 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4398, allocations: 350.7 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.44, allocations: 68.42 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.4402, allocations: 111.2 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.4406, allocations: 188.6 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4406, allocations: 0 / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004932/0.4411, allocations: 261 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4411, allocations: 4 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4411, allocations: 4 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4411, allocations: 0 / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.4414, allocations: 47.91 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4414, allocations: 4 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.4415, allocations: 31.92 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.4416, allocations: 15.94 kB / 1.08 GB, free: 14.2 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.0001618/0.4417, allocations: 165.7 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.4418, allocations: 35.53 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.93e-05/0.4419, allocations: 39.59 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4419, allocations: 4 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4419, allocations: 0 / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.4419, allocations: 7.922 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009294/0.4429, allocations: 0.6855 MB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4429, allocations: 0 / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.443, allocations: 23.98 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.4431, allocations: 4 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.4431, allocations: 15.92 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4431, allocations: 3.938 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4431, allocations: 0 / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.4438, allocations: 424.5 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.4439, allocations: 124.6 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.444, allocations: 7.938 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.4441, allocations: 11.98 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.4442, allocations: 15.98 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.4443, allocations: 8.062 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002913/0.4446, allocations: 299.1 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4446, allocations: 0 / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003438/0.4449, allocations: 67.78 kB / 1.082 GB, free: 12.19 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.0009754/0.4459, allocations: 430 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004776/0.4464, allocations: 187.9 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4464, allocations: 4 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.4466, allocations: 89.61 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.4472, allocations: 86.19 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4484, allocations: 0.6292 MB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.4488, allocations: 0.7912 MB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.4489, allocations: 46.94 kB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.449, allocations: 35.44 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.449, allocations: 4 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.008784/0.4578, allocations: 3.779 MB / 1.088 GB, free: 6.289 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/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