Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006144/0.006144, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001335/0.001335, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.648/2.648, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3375, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002786/0.3404, allocations: 1.657 MB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.3411, allocations: 406.7 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.3412, allocations: 0 / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.3414, allocations: 15.86 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.3414, allocations: 23.78 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.3419, allocations: 111.3 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.342, allocations: 111.6 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3422, allocations: 43.97 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.3423, allocations: 39.84 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.3424, allocations: 43.84 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3424, allocations: 4 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.3425, allocations: 59.94 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.3426, allocations: 27.92 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.3426, allocations: 51.72 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.3429, allocations: 131.4 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3429, allocations: 0 / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3429, allocations: 0 / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3429, allocations: 4 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005989/0.3435, allocations: 411 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3436, allocations: 15.97 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.3438, allocations: 36.81 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.3441, allocations: 192.2 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/0.3442, allocations: 34.27 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.3442, allocations: 12.38 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.3444, allocations: 106.1 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3445, allocations: 3.938 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3445, allocations: 4 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3445, allocations: 4 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.3447, allocations: 78.12 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.3454, allocations: 384.4 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.346, allocations: 130.6 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.3461, allocations: 44.88 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.3461, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3462, allocations: 42.5 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 8.786e-06/0.3462, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004203/0.3466, allocations: 133.7 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3466, allocations: 55.39 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3468, allocations: 137.8 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3468, allocations: 33.7 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.3468, allocations: 100 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.3469, allocations: 27.78 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.3469, allocations: 21.72 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3471, allocations: 318.8 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3472, allocations: 23.98 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3473, allocations: 53.94 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3475, allocations: 81.81 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3475, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002684/0.3478, allocations: 117.5 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3478, allocations: 8 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3478, allocations: 0 / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3479, allocations: 0 / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.348, allocations: 23.95 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.348, allocations: 4 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.3481, allocations: 11.98 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3481, allocations: 0 / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.015e-05/0.3482, allocations: 113.8 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.3482, allocations: 7.953 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.3483, allocations: 20.7 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3483, allocations: 3.938 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3483, allocations: 4 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3483, allocations: 3.938 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.3485, allocations: 201.5 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3485, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.3486, allocations: 15.98 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3486, allocations: 3.984 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3487, allocations: 0 / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3487, allocations: 7.938 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3487, allocations: 3.984 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.349, allocations: 203.5 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.349, allocations: 85 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.349, allocations: 11.94 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.3492, allocations: 11.92 kB / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.3493, allocations: 7.984 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.3493, allocations: 3.938 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.719e-05/0.3494, allocations: 109.1 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3494, allocations: 0 / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002456/0.3496, allocations: 24 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001144/0.3497, allocations: 99.23 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.35, allocations: 71.95 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.35, allocations: 0 / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.3501, allocations: 43.97 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3505, allocations: 23.98 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.351, allocations: 207.1 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3513, allocations: 0.6963 MB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.899e-05/0.3514, allocations: 12.66 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.3514, allocations: 11.44 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.3514, allocations: 4 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.00428/0.3557, allocations: 1.449 MB / 1.175 GB, free: 13.66 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches