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.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.001906/0.001906, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.001954/0.001954, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.539/1.539, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.895/2.895, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.583e-06/1.583e-06, allocations: 0 / 0.7863 GB, free: 11.71 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.716e-05, allocations: 5.797 kB / 0.7864 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004563/0.00459, allocations: 1.684 MB / 0.788 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.005694, allocations: 397.4 kB / 0.7884 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.005776, allocations: 4.969 kB / 0.7884 GB, free: 9.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.005914, allocations: 11.86 kB / 0.7884 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.005994, allocations: 21.14 kB / 0.7884 GB, free: 9.605 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.006555, allocations: 125 kB / 0.7885 GB, free: 9.484 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.006793, allocations: 107.6 kB / 0.7886 GB, free: 9.379 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.006939, allocations: 32.52 kB / 0.7887 GB, free: 9.348 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.007086, allocations: 61.12 kB / 0.7887 GB, free: 9.289 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.999e-05/0.007186, allocations: 35.89 kB / 0.7888 GB, free: 9.254 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.007221, allocations: 8 kB / 0.7888 GB, free: 9.246 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.007426, allocations: 59.89 kB / 0.7888 GB, free: 9.188 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.007474, allocations: 21.45 kB / 0.7888 GB, free: 9.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.007544, allocations: 31.91 kB / 0.7889 GB, free: 9.137 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.00791, allocations: 139.6 kB / 0.789 GB, free: 9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.007913, allocations: 0 / 0.789 GB, free: 9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.282e-06/0.007915, allocations: 5.219 kB / 0.789 GB, free: 8.996 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.007919, allocations: 0 / 0.789 GB, free: 8.996 MB / 0.698 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.0008644/0.008783, allocations: 440.4 kB / 0.7894 GB, free: 8.527 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.008825, allocations: 8.031 kB / 0.7894 GB, free: 8.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.009196, allocations: 50.14 kB / 0.7895 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.009489, allocations: 133.4 kB / 0.7896 GB, free: 8.316 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.009609, allocations: 67.91 kB / 0.7897 GB, free: 8.238 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.009634, allocations: 4.375 kB / 0.7897 GB, free: 8.234 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.01, allocations: 130.5 kB / 0.7898 GB, free: 8.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.01001, allocations: 192 / 0.7898 GB, free: 8.098 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.01003, allocations: 384 / 0.7898 GB, free: 8.098 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.01004, allocations: 9.062 kB / 0.7898 GB, free: 8.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.01036, allocations: 72.58 kB / 0.7899 GB, free: 8.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000975/0.01134, allocations: 372.5 kB / 0.7902 GB, free: 7.621 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/0.01208, allocations: 138.2 kB / 0.7904 GB, free: 7.477 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.01223, allocations: 39.72 kB / 0.7904 GB, free: 7.434 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.01225, allocations: 0 / 0.7904 GB, free: 7.434 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.0123, allocations: 41.33 kB / 0.7905 GB, free: 7.383 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.0123, allocations: 0 / 0.7905 GB, free: 7.383 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005374/0.01284, allocations: 122.7 kB / 0.7906 GB, free: 7.258 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.01289, allocations: 51.41 kB / 0.7906 GB, free: 7.195 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.01311, allocations: 190.3 kB / 0.7908 GB, free: 6.996 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.01314, allocations: 29.7 kB / 0.7908 GB, free: 6.961 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.0133, allocations: 154.7 kB / 0.791 GB, free: 6.805 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.01336, allocations: 27.78 kB / 0.791 GB, free: 6.777 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.01344, allocations: 24.66 kB / 0.791 GB, free: 6.746 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003624/0.0138, allocations: 0.4961 MB / 0.7915 GB, free: 6.238 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.01393, allocations: 27.98 kB / 0.7915 GB, free: 6.211 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.01407, allocations: 53.02 kB / 0.7916 GB, free: 6.152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.01433, allocations: 71.3 kB / 0.7917 GB, free: 6.074 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01433, allocations: 0 / 0.7917 GB, free: 6.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000361/0.01469, allocations: 115.2 kB / 0.7918 GB, free: 5.957 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.01471, allocations: 4 kB / 0.7918 GB, free: 5.953 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01471, allocations: 0 / 0.7918 GB, free: 5.953 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.01473, allocations: 0.9062 kB / 0.7918 GB, free: 5.953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.01488, allocations: 15.98 kB / 0.7918 GB, free: 5.938 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.01489, allocations: 4.531 kB / 0.7918 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.822e-05/0.01498, allocations: 0.5625 kB / 0.7918 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01499, allocations: 7.938 kB / 0.7918 GB, free: 5.926 MB / 0.698 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.0001829/0.01517, allocations: 165 kB / 0.792 GB, free: 5.754 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.01523, allocations: 13.14 kB / 0.792 GB, free: 5.742 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.01528, allocations: 12.44 kB / 0.792 GB, free: 5.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.01529, allocations: 7.922 kB / 0.792 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01529, allocations: 0.5312 kB / 0.792 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.0153, allocations: 1.375 kB / 0.792 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.01562, allocations: 152.5 kB / 0.7921 GB, free: 5.539 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01562, allocations: 0 / 0.7921 GB, free: 5.539 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.01576, allocations: 12 kB / 0.7921 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01576, allocations: 1.156 kB / 0.7921 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01577, allocations: 0 / 0.7921 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01577, allocations: 0 / 0.7921 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.01577, allocations: 0.9688 kB / 0.7921 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.01625, allocations: 251.8 kB / 0.7924 GB, free: 5.262 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.01627, allocations: 13.59 kB / 0.7924 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01629, allocations: 0 / 0.7924 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.01649, allocations: 12 kB / 0.7924 GB, free: 5.238 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.01655, allocations: 11.92 kB / 0.7924 GB, free: 5.227 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.01657, allocations: 5.344 kB / 0.7924 GB, free: 5.223 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001375/0.01671, allocations: 135.2 kB / 0.7926 GB, free: 5.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01671, allocations: 0 / 0.7926 GB, free: 5.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004474/0.01716, allocations: 27.95 kB / 0.7926 GB, free: 5.062 MB / 0.698 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.0001637/0.01732, allocations: 96.12 kB / 0.7927 GB, free: 4.961 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.01767, allocations: 73.86 kB / 0.7927 GB, free: 4.887 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01767, allocations: 3.938 kB / 0.7927 GB, free: 4.883 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.01784, allocations: 47.66 kB / 0.7928 GB, free: 4.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.01838, allocations: 24.48 kB / 0.7928 GB, free: 4.812 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.01911, allocations: 202.4 kB / 0.793 GB, free: 4.586 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.01924, allocations: 79.98 kB / 0.7931 GB, free: 4.488 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.739e-05/0.01933, allocations: 10.14 kB / 0.7931 GB, free: 4.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.0194, allocations: 13.91 kB / 0.7931 GB, free: 4.469 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.0194, allocations: 0 / 0.7931 GB, free: 4.469 MB / 0.698 GB Notification: Performance of Templates: time 0.006637/0.02603, allocations: 1.367 MB / 0.7944 GB, free: 3.164 MB / 0.698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] 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: 7.881212268024683]