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.001832/0.001832, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002289/0.002289, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.787/2.787, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003416/0.003416, allocations: 68.08 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7283, allocations: 151.6 MB / 1.017 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004885/0.7332, allocations: 2.869 MB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.7357, allocations: 1.329 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.736, allocations: 11.94 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005524/0.7366, allocations: 127.5 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.7369, allocations: 123.4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.7376, allocations: 275.3 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.7382, allocations: 451.4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.7386, allocations: 192.5 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.7389, allocations: 163.1 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.7391, allocations: 179.1 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.7392, allocations: 16 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.7394, allocations: 51.98 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.7395, allocations: 71.62 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.7397, allocations: 166.9 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.7403, allocations: 494.3 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.7403, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7403, allocations: 3.984 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.7403, allocations: 4 kB / 1.023 GB, free: 12.38 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.001363/0.7417, allocations: 0.7049 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.7417, allocations: 11.98 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.7419, allocations: 48.38 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.7425, allocations: 402.5 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.7426, allocations: 24.88 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.7426, allocations: 28.11 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.7433, allocations: 275.7 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.7433, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.7433, allocations: 4 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.7433, allocations: 8 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.7438, allocations: 186.2 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.7454, allocations: 0.8764 MB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.7462, allocations: 232.8 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.7464, allocations: 84.83 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.7465, allocations: 4 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004293/0.7469, allocations: 139.2 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.7469, allocations: 0 / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0007634/0.7477, allocations: 291 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.7477, allocations: 55.41 kB / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.7482, allocations: 417.6 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.7483, allocations: 25.7 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.7485, allocations: 224 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/0.7486, allocations: 55.2 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.7487, allocations: 53.88 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.7489, allocations: 354.7 kB / 1.027 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.749, allocations: 68.42 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.7493, allocations: 111.2 kB / 1.027 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.7497, allocations: 189 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7497, allocations: 0 / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005545/0.7503, allocations: 263.4 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7503, allocations: 4 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7503, allocations: 0 / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.7503, allocations: 4 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.7506, allocations: 47.91 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.7506, allocations: 0 / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.7508, allocations: 31.67 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.7508, allocations: 16.16 kB / 1.028 GB, free: 6.949 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.0002052/0.751, allocations: 171.5 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.7511, allocations: 35.53 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.883e-05/0.7512, allocations: 43.58 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7512, allocations: 0 / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7512, allocations: 0 / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.7512, allocations: 11.88 kB / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.7523, allocations: 0.6755 MB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7523, allocations: 7.938 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.7525, allocations: 27.98 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7526, allocations: 0 / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.7526, allocations: 15.92 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7526, allocations: 0 / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7526, allocations: 0 / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008102/0.7534, allocations: 422.9 kB / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.7536, allocations: 128.7 kB / 1.029 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.7536, allocations: 7.938 kB / 1.029 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.7538, allocations: 11.98 kB / 1.03 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.7539, allocations: 15.98 kB / 1.03 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.7539, allocations: 7.984 kB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003588/0.7543, allocations: 295.2 kB / 1.03 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7543, allocations: 0 / 1.03 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000369/0.7547, allocations: 67.84 kB / 1.03 GB, free: 4.926 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.001522/0.7562, allocations: 422.1 kB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004955/0.7567, allocations: 181.5 kB / 1.03 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.715e-05/0.7568, allocations: 4 kB / 1.03 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.757, allocations: 87.89 kB / 1.031 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.7576, allocations: 85.38 kB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.7589, allocations: 0.7473 MB / 1.031 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.7594, allocations: 0.7914 MB / 1.032 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.7596, allocations: 42.95 kB / 1.032 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.7597, allocations: 31.44 kB / 1.032 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of SimCode: time 2.124e-06/0.7597, allocations: 4 kB / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of Templates: time 0.008599/0.7683, allocations: 3.589 MB / 1.036 GB, free: 15.1 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=400 -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