Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009061/0.0009061, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000841/0.000841, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.907/0.907, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.79/1.79, allocations: 377.9 MB / 0.6229 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.422e-05, allocations: 9.234 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001928/0.001952, allocations: 1.679 MB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005118/0.002464, allocations: 374.8 kB / 0.9842 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.002527, allocations: 0 / 0.9842 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.002632, allocations: 15.86 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.907e-05/0.002671, allocations: 19.8 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.003001, allocations: 127.4 kB / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.003129, allocations: 111.6 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.003245, allocations: 23.97 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.584e-05/0.003321, allocations: 59.88 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.003377, allocations: 27.91 kB / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.003396, allocations: 11.94 kB / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.225e-05/0.003488, allocations: 67.88 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.00351, allocations: 19.92 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.003542, allocations: 35.91 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.003729, allocations: 143.6 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.003731, allocations: 0 / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.123e-06/0.003732, allocations: 0 / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003736, allocations: 0 / 0.9848 GB, free: 15.36 MB / 0.948 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.0004367/0.004172, allocations: 353.7 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.004208, allocations: 8.031 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.004356, allocations: 28.86 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.004527, allocations: 141.7 kB / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.004593, allocations: 63.95 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.004604, allocations: 4.375 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.004788, allocations: 127.8 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.004795, allocations: 4.188 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.004808, allocations: 4.375 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.004815, allocations: 4.125 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.004956, allocations: 79.84 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.005392, allocations: 308.2 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.005695, allocations: 122.6 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.211e-05/0.005757, allocations: 36.88 kB / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.005769, allocations: 8 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.005787, allocations: 34.5 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.005788, allocations: 0 / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002558/0.006043, allocations: 133.7 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.00607, allocations: 55.41 kB / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.006146, allocations: 124 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.006161, allocations: 29.7 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.006202, allocations: 100 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.006222, allocations: 31.75 kB / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.006252, allocations: 21.7 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.006324, allocations: 322.8 kB / 0.9869 GB, free: 13.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.006379, allocations: 31.97 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.966e-05/0.006439, allocations: 45.62 kB / 0.9869 GB, free: 12.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.006549, allocations: 74.16 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.006551, allocations: 0 / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001455/0.006696, allocations: 121.5 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.006708, allocations: 7.938 kB / 0.9871 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006712, allocations: 0 / 0.9871 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.006723, allocations: 0 / 0.9871 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/0.006779, allocations: 27.92 kB / 0.9871 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.006784, allocations: 0 / 0.9871 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.006818, allocations: 11.89 kB / 0.9872 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.006825, allocations: 4 kB / 0.9872 GB, free: 12.73 MB / 0.948 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 6.885e-05/0.006894, allocations: 125.8 kB / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.006911, allocations: 7.953 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.006932, allocations: 12.44 kB / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006934, allocations: 0 / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.00694, allocations: 11.94 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.006942, allocations: 0 / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.00705, allocations: 133.2 kB / 0.9874 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.007051, allocations: 0 / 0.9874 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.007093, allocations: 15.98 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.007094, allocations: 0 / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.0071, allocations: 4 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.007101, allocations: 0 / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007102, allocations: 4 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.007262, allocations: 207.4 kB / 0.9877 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.007269, allocations: 3.953 kB / 0.9877 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.00728, allocations: 4 kB / 0.9877 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.007349, allocations: 11.98 kB / 0.9877 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.007383, allocations: 15.91 kB / 0.9877 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.007389, allocations: 4 kB / 0.9877 GB, free: 12.13 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.007423, allocations: 98.27 kB / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007423, allocations: 0 / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001553/0.007578, allocations: 23.94 kB / 0.9878 GB, free: 12.01 MB / 0.948 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 6.928e-05/0.007647, allocations: 95.25 kB / 0.9879 GB, free: 11.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.007797, allocations: 67.95 kB / 0.988 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007799, allocations: 0 / 0.988 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.683e-05/0.007855, allocations: 47.97 kB / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.008072, allocations: 22.67 kB / 0.988 GB, free: 11.78 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.0084, allocations: 226.8 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.00845, allocations: 83.27 kB / 0.9883 GB, free: 11.42 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.008485, allocations: 12.5 kB / 0.9883 GB, free: 11.41 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.008485, allocations: 4 kB / 0.9883 GB, free: 11.4 MB / 0.948 GB Notification: Performance of Templates: time 0.00185/0.01034, allocations: 1.259 MB / 0.9896 GB, free: 10.15 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.842499785125256]