Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 188.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7646 GB, free: 9.891 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 64.09 kB / 1.11 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8279/0.83, allocations: 168.8 MB / 1.274 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003056/0.8331, allocations: 1.7 MB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.8339, allocations: 400.4 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.834, allocations: 0 / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.8341, allocations: 11.81 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.584e-05/0.8341, allocations: 27.78 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.8346, allocations: 123.5 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.8348, allocations: 107.6 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.8349, allocations: 35.61 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.835, allocations: 43.84 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.8351, allocations: 43.78 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.8351, allocations: 12 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.8352, allocations: 59.89 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.8353, allocations: 27.91 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.525e-05/0.8353, allocations: 43.8 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.8356, allocations: 130.2 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8356, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8356, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.8356, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 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.0006004/0.8362, allocations: 345.8 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.8362, allocations: 8.031 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.8365, allocations: 32.86 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.8367, allocations: 138.3 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-05/0.8368, allocations: 30.27 kB / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.8368, allocations: 12.38 kB / 1.278 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.8371, allocations: 104.4 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.8371, allocations: 3.938 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.8371, allocations: 3.984 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.8371, allocations: 0 / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.8374, allocations: 79.94 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007268/0.8381, allocations: 367.4 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/0.8386, allocations: 122.5 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.8387, allocations: 44.88 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.8388, allocations: 4 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.8388, allocations: 30.56 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.8388, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004476/0.8392, allocations: 137.7 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.8393, allocations: 51.41 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.8394, allocations: 147.2 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.8394, allocations: 29.7 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.8395, allocations: 100.1 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.8395, allocations: 27.89 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.8396, allocations: 21.72 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.8397, allocations: 322.8 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.8398, allocations: 27.97 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.84, allocations: 46 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.8402, allocations: 77.83 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8402, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002615/0.8404, allocations: 113.5 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8405, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.8405, allocations: 4.031 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.8405, allocations: 7.938 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.8406, allocations: 15.98 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8406, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.43e-05/0.8407, allocations: 19.92 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/0.8407, allocations: 4 kB / 1.279 GB, free: 14.86 MB / 0.9825 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 0.0001042/0.8408, allocations: 117.8 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.8408, allocations: 7.953 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.8409, allocations: 20.7 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8409, allocations: 3.938 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8409, allocations: 0 / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8409, allocations: 0 / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.8411, allocations: 180.6 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8411, allocations: 3.938 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.986e-05/0.8412, allocations: 12 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.8412, allocations: 3.984 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.8412, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.8412, allocations: 3.938 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8412, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.8415, allocations: 203.4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.8415, allocations: 7.953 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.8416, allocations: 4 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.8417, allocations: 15.92 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.8418, allocations: 7.984 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.8418, allocations: 4 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.648e-05/0.8419, allocations: 109.1 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8419, allocations: 0 / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000255/0.8421, allocations: 20 kB / 1.28 GB, free: 14.08 MB / 0.9825 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.0001213/0.8422, allocations: 99.19 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.8425, allocations: 71.89 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8425, allocations: 8.062 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.8426, allocations: 35.97 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.843, allocations: 19.98 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.8435, allocations: 215.4 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.8439, allocations: 0.7002 MB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.794e-05/0.844, allocations: 8.672 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.844, allocations: 11.44 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.844, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.004671/0.8487, allocations: 1.502 MB / 1.283 GB, free: 11.38 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.694681035354733]