Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001056/0.001056, allocations: 98.88 kB / 16.02 MB, free: 76 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.001305/0.001305, allocations: 185.9 kB / 16.93 MB, free: 6.762 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.491/1.491, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.846/2.846, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004698, allocations: 8 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9474/0.9479, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004111/0.9521, allocations: 2.496 MB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002946/0.9551, allocations: 1.298 MB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.9556, allocations: 11.94 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.9562, allocations: 127.4 kB / 1.028 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.9568, allocations: 123.4 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009689/0.9578, allocations: 270.8 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008091/0.9586, allocations: 443.4 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.959, allocations: 192.5 kB / 1.029 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.9594, allocations: 143.1 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.9598, allocations: 155.2 kB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.076e-05/0.9598, allocations: 8 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.96, allocations: 47.92 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.9602, allocations: 59.7 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.9604, allocations: 176.5 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.9609, allocations: 399 kB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.961, allocations: 0 / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.505e-06/0.961, allocations: 0 / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.961, allocations: 0 / 1.029 GB, free: 9.914 MB / 0.7794 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.001437/0.9624, allocations: 0.6465 MB / 1.03 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.9625, allocations: 11.98 kB / 1.03 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.9627, allocations: 44.38 kB / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.9634, allocations: 402.7 kB / 1.031 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.9635, allocations: 16.94 kB / 1.031 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.9635, allocations: 24.12 kB / 1.031 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.9642, allocations: 283.6 kB / 1.031 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9642, allocations: 0 / 1.031 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.9642, allocations: 8 kB / 1.031 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.9642, allocations: 8 kB / 1.031 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.9647, allocations: 182.2 kB / 1.031 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.9665, allocations: 0.8881 MB / 1.032 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007893/0.9673, allocations: 238.8 kB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.9675, allocations: 84.83 kB / 1.032 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.9676, allocations: 11.98 kB / 1.032 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.968, allocations: 131.3 kB / 1.032 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.968, allocations: 7.938 kB / 1.032 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0008397/0.9688, allocations: 294.6 kB / 1.033 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.9689, allocations: 55.34 kB / 1.033 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000568/0.9695, allocations: 413.7 kB / 1.033 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.9695, allocations: 29.7 kB / 1.033 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.9697, allocations: 216 kB / 1.033 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.9698, allocations: 67.09 kB / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.9699, allocations: 37.64 kB / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.9701, allocations: 350.7 kB / 1.034 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.9703, allocations: 64.44 kB / 1.034 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.9705, allocations: 125.1 kB / 1.034 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.9709, allocations: 188.6 kB / 1.034 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9709, allocations: 0 / 1.034 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005675/0.9715, allocations: 257.1 kB / 1.034 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.9715, allocations: 10.03 kB / 1.034 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9716, allocations: 4 kB / 1.034 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.9716, allocations: 4 kB / 1.034 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.9718, allocations: 51.89 kB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.9718, allocations: 4 kB / 1.034 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.972, allocations: 31.67 kB / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.972, allocations: 11.94 kB / 1.034 GB, free: 4.523 MB / 0.7794 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.000206/0.9723, allocations: 170.3 kB / 1.035 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.9723, allocations: 35.53 kB / 1.035 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.9724, allocations: 39.59 kB / 1.035 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.9725, allocations: 4 kB / 1.035 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.9725, allocations: 0 / 1.035 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.9725, allocations: 7.922 kB / 1.035 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.9735, allocations: 0.687 MB / 1.035 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9736, allocations: 4 kB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.9737, allocations: 27.92 kB / 1.035 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.9737, allocations: 7.938 kB / 1.035 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.9738, allocations: 11.92 kB / 1.035 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.9738, allocations: 0 / 1.035 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9738, allocations: 4 kB / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.9746, allocations: 420.8 kB / 1.036 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.9747, allocations: 128.7 kB / 1.036 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.9748, allocations: 11.94 kB / 1.036 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.975, allocations: 11.98 kB / 1.036 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.975, allocations: 15.98 kB / 1.036 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.9751, allocations: 12.05 kB / 1.036 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003562/0.9754, allocations: 295.2 kB / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9754, allocations: 0 / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003668/0.9758, allocations: 63.75 kB / 1.036 GB, free: 2.488 MB / 0.7794 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.00111/0.9769, allocations: 418.8 kB / 1.037 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.9774, allocations: 182.2 kB / 1.037 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9774, allocations: 0 / 1.037 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.9777, allocations: 95.83 kB / 1.037 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.9783, allocations: 87.28 kB / 1.037 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.9797, allocations: 0.7864 MB / 1.038 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.9801, allocations: 0.7992 MB / 1.039 GB, free: 240 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.9802, allocations: 35.38 kB / 1.039 GB, free: 204 kB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9802, allocations: 0 / 1.039 GB, free: 204 kB / 0.7794 GB Notification: Performance of Templates: time 0.009349/0.9896, allocations: 4.632 MB / 1.043 GB, free: 11.59 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches