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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 215.7 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.353/3.353, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 64.42 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003049/0.3411, allocations: 1.66 MB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.3418, allocations: 379.9 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.3419, allocations: 11.88 kB / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.879e-05/0.342, allocations: 11.86 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.916e-05/0.342, allocations: 19.78 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.3425, allocations: 127.6 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3427, allocations: 103.6 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3428, allocations: 35.91 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.702e-05/0.3428, allocations: 39.86 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.3429, allocations: 31.84 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.3429, allocations: 8 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3431, allocations: 67.94 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.3431, allocations: 23.91 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.3432, allocations: 35.8 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.3434, allocations: 131.5 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3434, allocations: 7.938 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3434, allocations: 0 / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3434, allocations: 0 / 1.367 GB, free: 10.97 MB / 1.061 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.0006142/0.344, allocations: 345.8 kB / 1.368 GB, free: 10.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.3441, allocations: 8.031 kB / 1.368 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.3443, allocations: 28.86 kB / 1.368 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3445, allocations: 132.7 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/0.3446, allocations: 67.95 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3446, allocations: 8.375 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.3449, allocations: 131.8 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3449, allocations: 3.938 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3449, allocations: 4 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3449, allocations: 0 / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.3452, allocations: 75.94 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006358/0.3458, allocations: 320.1 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.3463, allocations: 118.6 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.3465, allocations: 40.88 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3465, allocations: 0 / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3465, allocations: 30.56 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3465, allocations: 4 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004481/0.347, allocations: 137.5 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.347, allocations: 51.41 kB / 1.369 GB, free: 9.344 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3471, allocations: 118.1 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.3472, allocations: 29.7 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.3473, allocations: 100 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3473, allocations: 31.89 kB / 1.369 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.3473, allocations: 21.7 kB / 1.369 GB, free: 9.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3475, allocations: 330.7 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.3476, allocations: 31.97 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3477, allocations: 45.69 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.348, allocations: 74.09 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.348, allocations: 8 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003225/0.3483, allocations: 117.5 kB / 1.37 GB, free: 8.398 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3483, allocations: 4 kB / 1.37 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3483, allocations: 0 / 1.37 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3483, allocations: 4 kB / 1.37 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.3484, allocations: 19.98 kB / 1.37 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3484, allocations: 0 / 1.37 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.3485, allocations: 7.938 kB / 1.37 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.3485, allocations: 4 kB / 1.37 GB, free: 8.359 MB / 1.061 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.0001134/0.3486, allocations: 123 kB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.3487, allocations: 7.953 kB / 1.37 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.3488, allocations: 12.38 kB / 1.37 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3488, allocations: 4 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3488, allocations: 0 / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3488, allocations: 3.938 kB / 1.37 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.349, allocations: 137.2 kB / 1.37 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.349, allocations: 0 / 1.37 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3491, allocations: 27.84 kB / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3491, allocations: 0 / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.3491, allocations: 0 / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3491, allocations: 8 kB / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3491, allocations: 0 / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.3495, allocations: 203.4 kB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.3495, allocations: 3.953 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3495, allocations: 8 kB / 1.37 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.3497, allocations: 7.984 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.3497, allocations: 7.984 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.3497, allocations: 4 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.015e-05/0.3498, allocations: 102.3 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3498, allocations: 0 / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000256/0.35, allocations: 19.94 kB / 1.37 GB, free: 7.637 MB / 1.061 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.0001382/0.3502, allocations: 99.19 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.3505, allocations: 71.94 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3505, allocations: 0 / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3506, allocations: 43.97 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3509, allocations: 27.92 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.3514, allocations: 228.9 kB / 1.371 GB, free: 7.137 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.53e-05/0.3515, allocations: 83.12 kB / 1.371 GB, free: 7.035 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.3516, allocations: 19.44 kB / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3516, allocations: 0 / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of Templates: time 0.003347/0.3549, allocations: 1.281 MB / 1.372 GB, free: 5.746 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.319478844758123]