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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001067/0.001067, allocations: 90.28 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008054/0.008054, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.000457, allocations: 8 kB / 0.8728 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6678/0.6683, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003762/0.6721, allocations: 2.499 MB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.6747, allocations: 1.302 MB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003624/0.6751, allocations: 11.94 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.6756, allocations: 127.5 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.676, allocations: 115.5 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.6768, allocations: 271.5 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007008/0.6776, allocations: 443.4 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.678, allocations: 192.5 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.6783, allocations: 139.2 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.6786, allocations: 155.1 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.6787, allocations: 8 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.6789, allocations: 47.97 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.679, allocations: 55.7 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.6792, allocations: 184.5 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.6798, allocations: 482.2 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6798, allocations: 0 / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6798, allocations: 0 / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.42e-05/0.6798, allocations: 0 / 1.029 GB, free: 9.812 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.001258/0.6811, allocations: 0.6387 MB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6812, allocations: 15.98 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.6813, allocations: 44.38 kB / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.6819, allocations: 402.6 kB / 1.03 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.682, allocations: 20.88 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.682, allocations: 36.05 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.6826, allocations: 275.7 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.6826, allocations: 0 / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.6827, allocations: 8 kB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.6827, allocations: 8 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.6831, allocations: 186.2 kB / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.6847, allocations: 0.8803 MB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/0.6854, allocations: 230.9 kB / 1.032 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.6857, allocations: 96.83 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.6857, allocations: 0 / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.686, allocations: 140.9 kB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.686, allocations: 0 / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0007441/0.6868, allocations: 298.4 kB / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.6868, allocations: 55.41 kB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.6873, allocations: 409.7 kB / 1.032 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.6873, allocations: 33.7 kB / 1.033 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.6875, allocations: 208.1 kB / 1.033 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.6876, allocations: 71.08 kB / 1.033 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.6876, allocations: 33.7 kB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6878, allocations: 354.7 kB / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.688, allocations: 64.44 kB / 1.033 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.6882, allocations: 119.7 kB / 1.033 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.6886, allocations: 191.8 kB / 1.034 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6886, allocations: 0 / 1.034 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000541/0.6892, allocations: 261 kB / 1.034 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6892, allocations: 8 kB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6892, allocations: 0 / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.6892, allocations: 8.094 kB / 1.034 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.6895, allocations: 51.91 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6895, allocations: 3.984 kB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.6897, allocations: 35.69 kB / 1.034 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.6897, allocations: 7.984 kB / 1.034 GB, free: 4.426 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.0001922/0.6899, allocations: 178.2 kB / 1.034 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.6899, allocations: 35.53 kB / 1.034 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.028e-05/0.69, allocations: 43.59 kB / 1.034 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6901, allocations: 4 kB / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6901, allocations: 0 / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6901, allocations: 7.875 kB / 1.034 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.6911, allocations: 0.6798 MB / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6911, allocations: 0 / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.6913, allocations: 35.97 kB / 1.035 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6913, allocations: 4 kB / 1.035 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.6913, allocations: 7.938 kB / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6913, allocations: 0 / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6913, allocations: 0 / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007815/0.6921, allocations: 433.1 kB / 1.035 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.6923, allocations: 132.7 kB / 1.035 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.6923, allocations: 7.938 kB / 1.035 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.6925, allocations: 11.98 kB / 1.035 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.6926, allocations: 15.98 kB / 1.035 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.6926, allocations: 7.984 kB / 1.035 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003257/0.6929, allocations: 295.2 kB / 1.036 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6929, allocations: 4 kB / 1.036 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003475/0.6933, allocations: 67.75 kB / 1.036 GB, free: 2.379 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.0009489/0.6942, allocations: 418.4 kB / 1.036 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004598/0.6947, allocations: 188 kB / 1.036 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6947, allocations: 0 / 1.036 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.6949, allocations: 93.44 kB / 1.036 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.6955, allocations: 79.16 kB / 1.037 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.6967, allocations: 0.7575 MB / 1.037 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.697, allocations: 0.7914 MB / 1.038 GB, free: 176 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000185/0.6972, allocations: 46.94 kB / 1.038 GB, free: 128 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.6973, allocations: 35.44 kB / 1.038 GB, free: 92 kB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6973, allocations: 3.938 kB / 1.038 GB, free: 88 kB / 0.7794 GB Notification: Performance of Templates: time 0.007755/0.7051, allocations: 3.549 MB / 1.042 GB, free: 12.58 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/jenkins/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