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.001026/0.001026, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.007995/0.007995, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.361/2.361, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005776/0.0005775, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8337, allocations: 142.4 MB / 0.955 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003176/0.8369, allocations: 2.485 MB / 0.9575 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0025/0.8395, allocations: 1.296 MB / 0.9587 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.84, allocations: 14.75 kB / 0.9588 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.8407, allocations: 130.2 kB / 0.9589 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006296/0.8414, allocations: 117.7 kB / 0.959 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.8425, allocations: 267.6 kB / 0.9592 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007424/0.8432, allocations: 441.3 kB / 0.9597 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.8437, allocations: 199.8 kB / 0.9599 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.844, allocations: 131.1 kB / 0.96 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.8443, allocations: 162.3 kB / 0.9601 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.8444, allocations: 8.25 kB / 0.9601 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.8446, allocations: 46.23 kB / 0.9602 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.8447, allocations: 68.12 kB / 0.9603 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.8449, allocations: 170.9 kB / 0.9604 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005901/0.8455, allocations: 487 kB / 0.9609 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.8455, allocations: 0 / 0.9609 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8455, allocations: 0 / 0.9609 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.8455, allocations: 0 / 0.9609 GB, free: 3.477 MB / 0.7169 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.001341/0.8469, allocations: 0.6327 MB / 0.9615 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.847, allocations: 9.938 kB / 0.9615 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.8471, allocations: 46.22 kB / 0.9615 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.8479, allocations: 404.7 kB / 0.9619 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.8479, allocations: 21.78 kB / 0.962 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.848, allocations: 27.95 kB / 0.962 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007819/0.8488, allocations: 278.1 kB / 0.9622 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.8488, allocations: 0 / 0.9622 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.8489, allocations: 10 kB / 0.9623 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.8489, allocations: 5.781 kB / 0.9623 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006636/0.8496, allocations: 187.7 kB / 0.9624 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.8515, allocations: 0.8818 MB / 0.9633 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.8525, allocations: 232 kB / 0.9635 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.8529, allocations: 94.44 kB / 0.9636 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.8529, allocations: 9.938 kB / 0.9636 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.8534, allocations: 140 kB / 0.9638 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 3.156e-06/0.8534, allocations: 0 / 0.9638 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001101/0.8545, allocations: 297.5 kB / 0.964 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.8546, allocations: 53.59 kB / 0.9641 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.8553, allocations: 407.5 kB / 0.9645 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.8553, allocations: 30.7 kB / 0.9645 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.8556, allocations: 229.8 kB / 0.9647 GB, free: 492 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.8557, allocations: 59.89 kB / 0.9648 GB, free: 440 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.8557, allocations: 30.27 kB / 0.9648 GB, free: 412 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8559, allocations: 352.2 kB / 0.9652 GB, free: 60 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.8561, allocations: 69.48 kB / 0.9652 GB, free: 28 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.8565, allocations: 118.4 kB / 0.9653 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.8571, allocations: 188.5 kB / 0.9655 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8571, allocations: 1.375 kB / 0.9655 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008586/0.858, allocations: 260.3 kB / 0.9658 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.8581, allocations: 5.688 kB / 0.9658 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.8581, allocations: 5.344 kB / 0.9658 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.8581, allocations: 2.656 kB / 0.9658 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.8585, allocations: 47.88 kB / 0.9658 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.8585, allocations: 7.5 kB / 0.9658 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.8588, allocations: 27.8 kB / 0.9659 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.8588, allocations: 7.469 kB / 0.9659 GB, free: 15.63 MB / 0.7325 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.0002657/0.8591, allocations: 171.3 kB / 0.966 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.8592, allocations: 40.91 kB / 0.9661 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.8593, allocations: 43.27 kB / 0.9661 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.8593, allocations: 1.906 kB / 0.9661 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.8593, allocations: 4.938 kB / 0.9661 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8593, allocations: 0 / 0.9661 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.8608, allocations: 0.6841 MB / 0.9668 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8608, allocations: 3.938 kB / 0.9668 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.8611, allocations: 27.73 kB / 0.9668 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.8611, allocations: 4.906 kB / 0.9668 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.8612, allocations: 10.02 kB / 0.9668 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.8612, allocations: 4.906 kB / 0.9668 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8612, allocations: 0 / 0.9668 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.8623, allocations: 428.1 kB / 0.9672 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.8626, allocations: 133.4 kB / 0.9674 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.8626, allocations: 1.031 kB / 0.9674 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.8629, allocations: 13.67 kB / 0.9674 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.863, allocations: 19.22 kB / 0.9674 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.8631, allocations: 17.77 kB / 0.9674 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005458/0.8636, allocations: 293.5 kB / 0.9677 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8636, allocations: 0 / 0.9677 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005911/0.8642, allocations: 67.58 kB / 0.9678 GB, free: 14.2 MB / 0.7325 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.001476/0.8657, allocations: 418 kB / 0.9682 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007005/0.8664, allocations: 176.3 kB / 0.9683 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.8664, allocations: 0 / 0.9683 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.8668, allocations: 101.5 kB / 0.9684 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.8678, allocations: 86.81 kB / 0.9685 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.8697, allocations: 0.7543 MB / 0.9692 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.8703, allocations: 0.7961 MB / 0.97 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002873/0.8706, allocations: 54.47 kB / 0.9701 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.8707, allocations: 35.2 kB / 0.9701 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/0.8707, allocations: 0 / 0.9701 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.01344/0.8842, allocations: 3.532 MB / 0.9736 GB, free: 10.77 MB / 0.7325 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