Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_9_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_9_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.00569/0.00569, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001228/0.001229, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.578/2.578, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.28 kB / 0.9508 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3391, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00285/0.342, allocations: 1.656 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.3427, allocations: 412.1 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/0.3428, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.343, allocations: 7.875 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.343, allocations: 23.78 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.3435, allocations: 129.8 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3437, allocations: 103.6 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.3438, allocations: 47.88 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.3439, allocations: 39.91 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.344, allocations: 43.78 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.344, allocations: 8 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.3442, allocations: 67.89 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.3442, allocations: 19.92 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.3443, allocations: 51.77 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3445, allocations: 119.7 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3445, allocations: 0 / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3446, allocations: 0 / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3446, allocations: 0 / 1.091 GB, free: 14.77 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006843/0.3453, allocations: 419.1 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3453, allocations: 12.03 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.3456, allocations: 32.67 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.3458, allocations: 204.1 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/0.3459, allocations: 34.25 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.3459, allocations: 8.375 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.3462, allocations: 99.92 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3462, allocations: 7.938 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3463, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3463, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.3465, allocations: 79.94 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.3473, allocations: 384.4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.3478, allocations: 130.5 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3479, allocations: 44.88 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.3479, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.348, allocations: 34.56 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.348, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004308/0.3484, allocations: 137.6 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3485, allocations: 51.41 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3486, allocations: 151.4 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3486, allocations: 29.7 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.3487, allocations: 100.1 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.3487, allocations: 23.66 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.3488, allocations: 21.7 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3489, allocations: 318.8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.349, allocations: 31.97 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3491, allocations: 42 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.3493, allocations: 85.97 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3493, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002502/0.3496, allocations: 109.5 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.3496, allocations: 7.984 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3496, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3497, allocations: 8.031 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3498, allocations: 19.92 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3498, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.3499, allocations: 19.78 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.3499, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 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 8.8e-05/0.35, allocations: 117.8 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.35, allocations: 11.89 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.3501, allocations: 12.72 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3501, allocations: 11.94 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3501, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3501, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3503, allocations: 197.6 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3503, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.3504, allocations: 19.98 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3504, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3504, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.3504, allocations: 3.938 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3505, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3507, allocations: 207.3 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.3508, allocations: 89 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3508, allocations: 4 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.351, allocations: 19.91 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.351, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3511, allocations: 4 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.404e-05/0.3511, allocations: 113.3 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3511, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002517/0.3514, allocations: 20 kB / 1.094 GB, free: 11.02 MB / 0.8575 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.0001292/0.3515, allocations: 103.2 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.3518, allocations: 71.89 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3518, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.352, allocations: 44.03 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.3523, allocations: 15.98 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.3528, allocations: 207.4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3531, allocations: 0.7002 MB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.908e-05/0.3531, allocations: 8.672 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.3532, allocations: 15.44 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of SimCode: time 1.433e-06/0.3532, allocations: 4 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of Templates: time 0.003914/0.3571, allocations: 1.486 MB / 1.096 GB, free: 8.328 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches