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.41/1.41, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 175.3 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.0009395/0.0009394, allocations: 94.31 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 10.56 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2806, allocations: 106.3 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/0.486, allocations: 141.5 MB / 1.038 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.4863, allocations: 103.9 kB / 1.038 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02286/0.5092, allocations: 8.957 MB / 1.047 GB, free: 9.578 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.867e-06/0.5093, allocations: 0 / 1.047 GB, free: 9.578 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.685e-05/0.5093, allocations: 11.94 kB / 1.047 GB, free: 9.566 MB / 0.698 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.001075/0.5104, allocations: 0.6823 MB / 1.048 GB, free: 8.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5104, allocations: 8.031 kB / 1.048 GB, free: 8.828 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.5105, allocations: 47.39 kB / 1.048 GB, free: 8.781 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.5112, allocations: 393.6 kB / 1.048 GB, free: 8.355 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.5112, allocations: 20.56 kB / 1.048 GB, free: 8.336 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/0.5113, allocations: 28 kB / 1.048 GB, free: 8.309 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.5119, allocations: 296.4 kB / 1.049 GB, free: 8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5119, allocations: 0 / 1.049 GB, free: 8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.5119, allocations: 12 kB / 1.049 GB, free: 7.988 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5119, allocations: 4 kB / 1.049 GB, free: 7.984 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.5124, allocations: 206.2 kB / 1.049 GB, free: 7.785 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.5137, allocations: 0.8539 MB / 1.05 GB, free: 6.875 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.5145, allocations: 271 kB / 1.05 GB, free: 6.602 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.5146, allocations: 4 kB / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.5149, allocations: 155.6 kB / 1.05 GB, free: 6.434 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.5149, allocations: 4 kB / 1.05 GB, free: 6.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0008027/0.5157, allocations: 343.4 kB / 1.05 GB, free: 6.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.5158, allocations: 103.2 kB / 1.05 GB, free: 5.965 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.5163, allocations: 388.7 kB / 1.051 GB, free: 5.578 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.5163, allocations: 29.7 kB / 1.051 GB, free: 5.543 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.5164, allocations: 204.3 kB / 1.051 GB, free: 5.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.5165, allocations: 63.06 kB / 1.051 GB, free: 5.277 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.5165, allocations: 12 kB / 1.051 GB, free: 5.266 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5167, allocations: 346.8 kB / 1.051 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.5169, allocations: 75.95 kB / 1.051 GB, free: 4.844 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.5171, allocations: 128.9 kB / 1.052 GB, free: 4.703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.5173, allocations: 91.66 kB / 1.052 GB, free: 4.617 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5173, allocations: 0 / 1.052 GB, free: 4.617 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004952/0.5178, allocations: 269.1 kB / 1.052 GB, free: 4.348 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5178, allocations: 8 kB / 1.052 GB, free: 4.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5178, allocations: 0 / 1.052 GB, free: 4.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5179, allocations: 0 / 1.052 GB, free: 4.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.5181, allocations: 51.91 kB / 1.052 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.5181, allocations: 0 / 1.052 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.5183, allocations: 35.77 kB / 1.052 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.5183, allocations: 11.95 kB / 1.052 GB, free: 4.242 MB / 0.698 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 () * Number of clocked 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 0.0001873/0.5185, allocations: 168.9 kB / 1.052 GB, free: 4.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.5186, allocations: 39.53 kB / 1.052 GB, free: 4.031 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.5191, allocations: 281 kB / 1.053 GB, free: 3.754 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5192, allocations: 4 kB / 1.053 GB, free: 3.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5192, allocations: 0 / 1.053 GB, free: 3.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5192, allocations: 3.984 kB / 1.053 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.5202, allocations: 0.7558 MB / 1.053 GB, free: 2.934 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5203, allocations: 0 / 1.053 GB, free: 2.934 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.5204, allocations: 31.98 kB / 1.053 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5205, allocations: 4 kB / 1.053 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.5205, allocations: 7.984 kB / 1.053 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5205, allocations: 0 / 1.053 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5205, allocations: 3.938 kB / 1.053 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.5213, allocations: 490.3 kB / 1.054 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.5215, allocations: 144.6 kB / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.5215, allocations: 7.984 kB / 1.054 GB, free: 2.227 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.5217, allocations: 16.06 kB / 1.054 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.5218, allocations: 19.97 kB / 1.054 GB, free: 2.191 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.5218, allocations: 8 kB / 1.054 GB, free: 2.184 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003369/0.5222, allocations: 307.1 kB / 1.054 GB, free: 1.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5222, allocations: 0 / 1.054 GB, free: 1.883 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003779/0.5226, allocations: 75.83 kB / 1.054 GB, free: 1.809 MB / 0.698 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) * Number of clocked states: 0 () * 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.00118/0.5238, allocations: 430.5 kB / 1.055 GB, free: 1.539 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.5243, allocations: 207.8 kB / 1.055 GB, free: 1.336 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5243, allocations: 3.938 kB / 1.055 GB, free: 1.332 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.5246, allocations: 107.9 kB / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.5252, allocations: 86.25 kB / 1.055 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.5267, allocations: 0.7342 MB / 1.056 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4659/0.9926, allocations: 0.8036 MB / 1.057 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003998/0.993, allocations: 47.33 kB / 1.057 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.9931, allocations: 33.41 kB / 1.057 GB, free: 147.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/0.9931, allocations: 0 / 1.057 GB, free: 147.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01175/1.005, allocations: 4.053 MB / 1.061 GB, free: 147.4 MB / 0.698 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