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.001462/0.001462, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001654/0.001654, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.522/1.522, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.75/2.75, allocations: 359 MB / 0.6048 GB, free: 10.95 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 2.505e-06/2.505e-06, allocations: 0 / 0.7864 GB, free: 11.71 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.171e-05/3.422e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00508/0.005114, allocations: 1.654 MB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.006483, allocations: 377.6 kB / 0.7883 GB, free: 9.695 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.491e-05/0.006578, allocations: 4 kB / 0.7883 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.006745, allocations: 16.64 kB / 0.7884 GB, free: 9.676 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.006856, allocations: 24.73 kB / 0.7884 GB, free: 9.652 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.007644, allocations: 125.3 kB / 0.7885 GB, free: 9.531 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.007933, allocations: 107.6 kB / 0.7886 GB, free: 9.426 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.008109, allocations: 35.94 kB / 0.7886 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.008292, allocations: 56.98 kB / 0.7887 GB, free: 9.336 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.008404, allocations: 31.89 kB / 0.7887 GB, free: 9.305 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.008445, allocations: 8 kB / 0.7887 GB, free: 9.297 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.00866, allocations: 60.73 kB / 0.7888 GB, free: 9.238 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.00871, allocations: 23.91 kB / 0.7888 GB, free: 9.215 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.008795, allocations: 32.67 kB / 0.7888 GB, free: 9.184 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.009246, allocations: 143.6 kB / 0.789 GB, free: 9.043 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.009251, allocations: 0.75 kB / 0.789 GB, free: 9.043 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.009253, allocations: 0 / 0.789 GB, free: 9.043 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.009262, allocations: 0.5625 kB / 0.789 GB, free: 9.043 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.001166/0.01043, allocations: 343.1 kB / 0.7893 GB, free: 8.676 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.01048, allocations: 8.031 kB / 0.7893 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.01094, allocations: 46.17 kB / 0.7894 GB, free: 8.625 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.01139, allocations: 137.7 kB / 0.7895 GB, free: 8.465 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.01154, allocations: 65.14 kB / 0.7895 GB, free: 8.391 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.01158, allocations: 8.375 kB / 0.7896 GB, free: 8.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.01213, allocations: 132.4 kB / 0.7897 GB, free: 8.242 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.01214, allocations: 5.531 kB / 0.7897 GB, free: 8.238 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.01217, allocations: 4.375 kB / 0.7897 GB, free: 8.234 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.01219, allocations: 8.125 kB / 0.7897 GB, free: 8.227 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.01265, allocations: 76.94 kB / 0.7898 GB, free: 8.152 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.01385, allocations: 306.2 kB / 0.7901 GB, free: 7.824 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.01482, allocations: 119.1 kB / 0.7902 GB, free: 7.699 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.01508, allocations: 46.52 kB / 0.7902 GB, free: 7.652 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.0151, allocations: 0 / 0.7902 GB, free: 7.652 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/0.01516, allocations: 38.5 kB / 0.7903 GB, free: 7.605 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.01516, allocations: 1.594 kB / 0.7903 GB, free: 7.605 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0008724/0.01603, allocations: 142 kB / 0.7904 GB, free: 7.461 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.0161, allocations: 52.66 kB / 0.7904 GB, free: 7.398 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.01631, allocations: 118.1 kB / 0.7906 GB, free: 7.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.01635, allocations: 25.7 kB / 0.7906 GB, free: 7.238 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.01647, allocations: 111 kB / 0.7907 GB, free: 7.129 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.01652, allocations: 19.8 kB / 0.7907 GB, free: 7.109 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.01661, allocations: 25.7 kB / 0.7907 GB, free: 7.078 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.01689, allocations: 318.8 kB / 0.791 GB, free: 6.758 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.0171, allocations: 31.97 kB / 0.7911 GB, free: 6.727 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.01734, allocations: 49.69 kB / 0.7911 GB, free: 6.672 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.01775, allocations: 74.94 kB / 0.7912 GB, free: 6.594 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01775, allocations: 1.375 kB / 0.7912 GB, free: 6.594 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000544/0.01829, allocations: 122.7 kB / 0.7913 GB, free: 6.469 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.01832, allocations: 8 kB / 0.7913 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01833, allocations: 0 / 0.7913 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.01835, allocations: 1.094 kB / 0.7913 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.01856, allocations: 15.98 kB / 0.7913 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.01857, allocations: 4 kB / 0.7913 GB, free: 6.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.01873, allocations: 5.75 kB / 0.7913 GB, free: 6.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.01874, allocations: 4 kB / 0.7913 GB, free: 6.434 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.0001806/0.01892, allocations: 121.8 kB / 0.7915 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.019, allocations: 15.89 kB / 0.7915 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.01906, allocations: 17.56 kB / 0.7915 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01906, allocations: 0 / 0.7915 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.01907, allocations: 0 / 0.7915 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01907, allocations: 0.5 kB / 0.7915 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.01942, allocations: 137.8 kB / 0.7916 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01942, allocations: 0 / 0.7916 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.01963, allocations: 21.52 kB / 0.7916 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01963, allocations: 0 / 0.7916 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01964, allocations: 0 / 0.7916 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01965, allocations: 0 / 0.7916 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01965, allocations: 0.5 kB / 0.7916 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.02023, allocations: 213.1 kB / 0.7918 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.02026, allocations: 7.891 kB / 0.7919 GB, free: 5.859 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.02028, allocations: 7.938 kB / 0.7919 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.02059, allocations: 12.89 kB / 0.7919 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.02066, allocations: 8.516 kB / 0.7919 GB, free: 5.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.02067, allocations: 0 / 0.7919 GB, free: 5.832 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001201/0.02079, allocations: 95.92 kB / 0.792 GB, free: 5.738 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.02079, allocations: 0 / 0.792 GB, free: 5.738 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004816/0.02128, allocations: 24.53 kB / 0.792 GB, free: 5.715 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.0001917/0.02147, allocations: 92.56 kB / 0.7921 GB, free: 5.617 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004779/0.02195, allocations: 80.7 kB / 0.7922 GB, free: 5.539 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02195, allocations: 0.9375 kB / 0.7922 GB, free: 5.539 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.02215, allocations: 35.97 kB / 0.7922 GB, free: 5.504 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.02276, allocations: 29.83 kB / 0.7922 GB, free: 5.477 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/0.02363, allocations: 199.7 kB / 0.7924 GB, free: 5.258 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.02377, allocations: 79.31 kB / 0.7925 GB, free: 5.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00011/0.02388, allocations: 8.062 kB / 0.7925 GB, free: 5.156 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.02395, allocations: 12.5 kB / 0.7925 GB, free: 5.145 MB / 0.698 GB Notification: Performance of SimCode: time 7.52e-07/0.02395, allocations: 3.938 kB / 0.7925 GB, free: 5.141 MB / 0.698 GB Notification: Performance of Templates: time 0.007646/0.03159, allocations: 1.361 MB / 0.7938 GB, free: 3.84 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=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: 7.619095724076033]