Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005529/0.005529, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001119/0.001119, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.9508 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7257/0.727, allocations: 140.4 MB / 1.088 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004106/0.7311, allocations: 2.833 MB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.7333, allocations: 1.343 MB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.7336, allocations: 7.906 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.7341, allocations: 150.6 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.7345, allocations: 146.9 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.7352, allocations: 302.8 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000519/0.7357, allocations: 475.6 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.7361, allocations: 207.8 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.7363, allocations: 185.8 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.7366, allocations: 193.5 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.431e-05/0.7367, allocations: 38.38 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.7369, allocations: 85 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.737, allocations: 93.95 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.7372, allocations: 185.1 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007183/0.7379, allocations: 0.5263 MB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.7379, allocations: 5.359 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7379, allocations: 0 / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.7379, allocations: 0 / 1.094 GB, free: 1.305 MB / 0.8575 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.001009/0.7389, allocations: 0.7035 MB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.739, allocations: 9.562 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.115e-05/0.7391, allocations: 46.5 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.7397, allocations: 412.1 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.7397, allocations: 18.92 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.7398, allocations: 27.88 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/0.7404, allocations: 276.8 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.7404, allocations: 0.7812 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.7405, allocations: 9.688 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.7405, allocations: 6.734 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.741, allocations: 180 kB / 1.096 GB, free: 156 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.7425, allocations: 0.8743 MB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007827/0.7433, allocations: 230.4 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.7436, allocations: 90.48 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.7436, allocations: 7.016 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.7439, allocations: 137.2 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.744, allocations: 4 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.0007859/0.7447, allocations: 287.4 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.7448, allocations: 59.33 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007051/0.7455, allocations: 408.8 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.7456, allocations: 30.98 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.7458, allocations: 212.8 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.7459, allocations: 60.33 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.746, allocations: 58.23 kB / 1.098 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.7462, allocations: 351.4 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.7465, allocations: 68.62 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.7469, allocations: 120.4 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.7476, allocations: 187.9 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7476, allocations: 0 / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008643/0.7485, allocations: 258 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.7485, allocations: 5.938 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.7485, allocations: 1.312 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.7486, allocations: 3.203 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.7489, allocations: 50.03 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.7489, allocations: 6.781 kB / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.7492, allocations: 30.73 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.7492, allocations: 10.47 kB / 1.1 GB, free: 13.97 MB / 0.8731 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.0002088/0.7495, allocations: 167.9 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.7495, allocations: 36.59 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.692e-05/0.7496, allocations: 41 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7496, allocations: 2.812 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7497, allocations: 3.938 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7497, allocations: 1.172 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.7508, allocations: 0.6812 MB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7508, allocations: 0.5 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.751, allocations: 36.36 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.751, allocations: 5.031 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.751, allocations: 3.422 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.751, allocations: 1.125 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.751, allocations: 0 / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007842/0.7518, allocations: 420.9 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.752, allocations: 131.9 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.752, allocations: 6.594 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.7522, allocations: 6.594 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.7523, allocations: 21.53 kB / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.7523, allocations: 15.16 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003778/0.7527, allocations: 298.7 kB / 1.101 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7527, allocations: 0 / 1.101 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003718/0.7531, allocations: 60.89 kB / 1.101 GB, free: 12.75 MB / 0.8731 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.000948/0.754, allocations: 420.4 kB / 1.102 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.7546, allocations: 181.1 kB / 1.102 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7546, allocations: 3.938 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.7548, allocations: 93.3 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.7554, allocations: 95.66 kB / 1.102 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.7568, allocations: 0.6086 MB / 1.103 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.7573, allocations: 0.7988 MB / 1.104 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002021/0.7575, allocations: 43.7 kB / 1.104 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.7576, allocations: 33.53 kB / 1.104 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.7577, allocations: 0.875 kB / 1.104 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.01026/0.7679, allocations: 3.79 MB / 1.107 GB, free: 11.01 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches