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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.445/2.445, allocations: 393.5 MB / 408.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 178.9 kB / 0.4902 GB, free: 2.219 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 223.2 MB / 0.7992 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00091/0.0009102, allocations: 97.33 kB / 0.9396 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 11.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.5701, allocations: 160.1 MB / 1.386 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/0.5705, allocations: 103.9 kB / 1.386 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0242/0.5947, allocations: 9.04 MB / 1.395 GB, free: 76 kB / 0.8855 GB Notification: Performance of FrontEnd: time 3.737e-06/0.5948, allocations: 0 / 1.395 GB, free: 76 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.791e-05/0.5948, allocations: 19.88 kB / 1.395 GB, free: 56 kB / 0.8855 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.001114/0.5959, allocations: 0.6746 MB / 1.395 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.596, allocations: 16.5 kB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.5961, allocations: 51.39 kB / 1.395 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.5968, allocations: 393.6 kB / 1.396 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.5968, allocations: 20.56 kB / 1.396 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.5969, allocations: 27.98 kB / 1.396 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.5975, allocations: 292.4 kB / 1.396 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5975, allocations: 4 kB / 1.396 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.5975, allocations: 12 kB / 1.396 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.5975, allocations: 8 kB / 1.396 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.598, allocations: 214.1 kB / 1.396 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.5993, allocations: 0.85 MB / 1.397 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000821/0.6002, allocations: 271 kB / 1.397 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.6002, allocations: 0 / 1.397 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000346/0.6006, allocations: 157.9 kB / 1.397 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.6006, allocations: 4 kB / 1.397 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21): time 0.0007894/0.6014, allocations: 342.6 kB / 1.398 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.6015, allocations: 106.8 kB / 1.398 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.602, allocations: 388.7 kB / 1.398 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.602, allocations: 29.7 kB / 1.398 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.6022, allocations: 208.2 kB / 1.398 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.6023, allocations: 67.09 kB / 1.399 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/0.6023, allocations: 4 kB / 1.399 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6025, allocations: 346.8 kB / 1.399 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.6027, allocations: 75.95 kB / 1.399 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.6029, allocations: 125.6 kB / 1.399 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.6031, allocations: 87.92 kB / 1.399 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6031, allocations: 8.016 kB / 1.399 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005205/0.6036, allocations: 266.5 kB / 1.399 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6037, allocations: 4 kB / 1.399 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6037, allocations: 0 / 1.399 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.6037, allocations: 4 kB / 1.399 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.6039, allocations: 48.03 kB / 1.399 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.604, allocations: 4 kB / 1.399 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.6042, allocations: 27.73 kB / 1.399 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.6042, allocations: 11.98 kB / 1.399 GB, free: 10.72 MB / 0.9011 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.0001939/0.6044, allocations: 166.6 kB / 1.4 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.6045, allocations: 39.53 kB / 1.4 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.6051, allocations: 287.1 kB / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6051, allocations: 0 / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6051, allocations: 0 / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6051, allocations: 0 / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.6062, allocations: 0.7558 MB / 1.401 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6062, allocations: 0 / 1.401 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.6064, allocations: 35.91 kB / 1.401 GB, free: 9.383 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6064, allocations: 4 kB / 1.401 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.6064, allocations: 4 kB / 1.401 GB, free: 9.375 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6064, allocations: 0 / 1.401 GB, free: 9.375 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6065, allocations: 15.89 kB / 1.401 GB, free: 9.359 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/0.6073, allocations: 491.9 kB / 1.401 GB, free: 8.863 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.6075, allocations: 144.6 kB / 1.401 GB, free: 8.703 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.6076, allocations: 8 kB / 1.401 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.6077, allocations: 11.98 kB / 1.401 GB, free: 8.684 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.6078, allocations: 27.92 kB / 1.401 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.6079, allocations: 8 kB / 1.401 GB, free: 8.648 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003516/0.6082, allocations: 303.1 kB / 1.402 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6082, allocations: 0 / 1.402 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003465/0.6086, allocations: 79.86 kB / 1.402 GB, free: 8.277 MB / 0.9011 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.001035/0.6096, allocations: 427.8 kB / 1.402 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004917/0.6101, allocations: 206.3 kB / 1.402 GB, free: 7.809 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6101, allocations: 8.062 kB / 1.402 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.6104, allocations: 107.9 kB / 1.402 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.6109, allocations: 76.03 kB / 1.403 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.6121, allocations: 0.7366 MB / 1.403 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.6125, allocations: 0.8112 MB / 1.404 GB, free: 6.027 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00018/0.6127, allocations: 50.95 kB / 1.404 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.6128, allocations: 31.42 kB / 1.404 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of SimCode: time 2.1e-07/0.6128, allocations: 0 / 1.404 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of Templates: time 0.008497/0.6213, allocations: 4.054 MB / 1.408 GB, free: 1.941 MB / 0.9011 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