Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 249.5 MB / 257 MB, free: 6.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 179.5 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009455/0.0009455, allocations: 85.52 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.484e-05/1.486e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2159, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8252/1.041, allocations: 141.7 MB / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.041, allocations: 100.2 kB / 1.024 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02264/1.064, allocations: 8.866 MB / 1.032 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/1.064, allocations: 0 / 1.032 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.95e-05/1.064, allocations: 11.98 kB / 1.032 GB, free: 4.82 MB / 0.6511 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.0008905/1.065, allocations: 0.6052 MB / 1.033 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.065, allocations: 8.031 kB / 1.033 GB, free: 4.184 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.992e-05/1.065, allocations: 51.39 kB / 1.033 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/1.066, allocations: 402.9 kB / 1.033 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/1.066, allocations: 8 kB / 1.033 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/1.066, allocations: 16 kB / 1.033 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00031/1.066, allocations: 165.9 kB / 1.034 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/1.067, allocations: 238.9 kB / 1.034 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.067, allocations: 0 / 1.034 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/1.067, allocations: 3.984 kB / 1.034 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/1.067, allocations: 12 kB / 1.034 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/1.068, allocations: 0.7782 MB / 1.035 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/1.069, allocations: 223.3 kB / 1.035 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/1.069, allocations: 82.66 kB / 1.035 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/1.069, allocations: 0 / 1.035 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/1.069, allocations: 132 kB / 1.035 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/1.069, allocations: 0 / 1.035 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.0003912/1.07, allocations: 226.4 kB / 1.035 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/1.07, allocations: 111.1 kB / 1.035 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/1.07, allocations: 325.4 kB / 1.036 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/1.07, allocations: 25.7 kB / 1.036 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/1.07, allocations: 213.4 kB / 1.036 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/1.07, allocations: 65.25 kB / 1.036 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/1.07, allocations: 0 / 1.036 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.07, allocations: 344.5 kB / 1.036 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/1.07, allocations: 64.17 kB / 1.036 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/1.071, allocations: 110 kB / 1.036 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/1.071, allocations: 61.34 kB / 1.036 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.071, allocations: 0 / 1.036 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003403/1.071, allocations: 216.5 kB / 1.037 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.071, allocations: 5.875 kB / 1.037 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.071, allocations: 4 kB / 1.037 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.071, allocations: 4.094 kB / 1.037 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/1.071, allocations: 43.97 kB / 1.037 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.071, allocations: 3.938 kB / 1.037 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/1.072, allocations: 15.84 kB / 1.037 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/1.072, allocations: 19.47 kB / 1.037 GB, free: 0.9258 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.dxSpe.trigger,dxSpeCon.cooMod,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 9.883e-05/1.072, allocations: 108.9 kB / 1.037 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/1.072, allocations: 39.53 kB / 1.037 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/1.072, allocations: 237 kB / 1.037 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.072, allocations: 4 kB / 1.037 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.072, allocations: 0 / 1.037 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.072, allocations: 0 / 1.037 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008038/1.073, allocations: 0.6655 MB / 1.038 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.073, allocations: 0 / 1.038 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/1.073, allocations: 45.16 kB / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.073, allocations: 0 / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.073, allocations: 0 / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.073, allocations: 4 kB / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.073, allocations: 4 kB / 1.038 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/1.074, allocations: 425.4 kB / 1.038 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/1.074, allocations: 134.1 kB / 1.038 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/1.074, allocations: 7.547 kB / 1.038 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/1.074, allocations: 12.06 kB / 1.038 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/1.074, allocations: 23.59 kB / 1.038 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/1.074, allocations: 4 kB / 1.038 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002609/1.075, allocations: 260.9 kB / 1.039 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/1.075, allocations: 0 / 1.039 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003733/1.075, allocations: 67.84 kB / 1.039 GB, free: 15.22 MB / 0.6667 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.dxSpe.trigger,$whenCondition2,$whenCondition1,dxSpeCon.cooMod,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.0008218/1.076, allocations: 372.9 kB / 1.039 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002922/1.076, allocations: 159.1 kB / 1.039 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.076, allocations: 0 / 1.039 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/1.076, allocations: 86.86 kB / 1.039 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/1.077, allocations: 89.97 kB / 1.039 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000855/1.078, allocations: 450.3 kB / 1.04 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/1.078, allocations: 0.8067 MB / 1.041 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001715/1.078, allocations: 46.28 kB / 1.041 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/1.078, allocations: 27.44 kB / 1.041 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/1.078, allocations: 0 / 1.041 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of Templates: time 0.007547/1.086, allocations: 3.686 MB / 1.044 GB, free: 9.758 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches