Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001931/0.001931, allocations: 196.2 kB / 16.14 MB, free: 6.66 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.845/2.845, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.88 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3951, allocations: 157.4 MB / 1.052 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003137/0.3982, allocations: 1.727 MB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007319/0.399, allocations: 398.7 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.3991, allocations: 4 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.3992, allocations: 7.938 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.413e-05/0.3993, allocations: 19.78 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.3997, allocations: 106.6 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3998, allocations: 111.6 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.4, allocations: 39.83 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.4, allocations: 31.92 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.4001, allocations: 47.77 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.4001, allocations: 4 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.4003, allocations: 63.95 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.4003, allocations: 19.91 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.4004, allocations: 43.73 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.4006, allocations: 127.9 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4006, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4006, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.4006, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 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.0006057/0.4012, allocations: 419.1 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4013, allocations: 8.031 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.4015, allocations: 36.81 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.4018, allocations: 200.1 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.4018, allocations: 30.27 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.4019, allocations: 8.375 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.4022, allocations: 103.5 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4022, allocations: 3.938 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.4022, allocations: 4 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4022, allocations: 0 / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.4025, allocations: 83.94 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.4032, allocations: 384.4 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.4037, allocations: 134.6 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.4039, allocations: 40.84 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.4039, allocations: 0 / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.4039, allocations: 30.56 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.4039, allocations: 7.938 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004325/0.4044, allocations: 133.7 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.4044, allocations: 55.34 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4045, allocations: 139.8 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4046, allocations: 29.7 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.4046, allocations: 100.2 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4047, allocations: 27.64 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.4047, allocations: 25.7 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4048, allocations: 318.8 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.4049, allocations: 31.97 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.4051, allocations: 45.69 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.4053, allocations: 82.14 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4053, allocations: 0 / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003106/0.4056, allocations: 113.5 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4056, allocations: 4 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4056, allocations: 0 / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4056, allocations: 4 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.4058, allocations: 19.92 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4058, allocations: 7.969 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.4059, allocations: 11.91 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4059, allocations: 7.984 kB / 1.057 GB, free: 3.344 MB / 0.8106 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.457e-05/0.406, allocations: 123.2 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.406, allocations: 7.906 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.4061, allocations: 12.72 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4061, allocations: 7.938 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4061, allocations: 3.984 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4061, allocations: 4 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.4063, allocations: 201.6 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4063, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.4064, allocations: 15.98 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4064, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4064, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4065, allocations: 7.938 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4065, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.4067, allocations: 203.4 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.4068, allocations: 92.94 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.4068, allocations: 4 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.407, allocations: 15.92 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.407, allocations: 0 / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.4071, allocations: 7.984 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.004e-05/0.4071, allocations: 104.7 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4071, allocations: 4 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002418/0.4074, allocations: 20 kB / 1.058 GB, free: 2.434 MB / 0.8106 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.0001121/0.4075, allocations: 99.25 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.4078, allocations: 79.86 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4078, allocations: 0 / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.4079, allocations: 35.98 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.4083, allocations: 30.28 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.4088, allocations: 236.6 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.4091, allocations: 0.6965 MB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.176e-05/0.4091, allocations: 8.672 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.4092, allocations: 11.44 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.4092, allocations: 0 / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of Templates: time 0.003874/0.4131, allocations: 1.337 MB / 1.061 GB, free: 15.88 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches