Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001896/0.001896, 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.00198/0.00198, allocations: 161.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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.907/2.907, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.885e-05, allocations: 4.984 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00249/0.002518, allocations: 1.31 MB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.004224, allocations: 0.8846 MB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.004247, allocations: 0 / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.004262, allocations: 0 / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.004312, allocations: 9.547 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.004996, allocations: 200.8 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.846e-05/0.005064, allocations: 27.86 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.945e-05/0.005094, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.005148, allocations: 7.984 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.005192, allocations: 10.14 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.005205, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004324/0.005638, allocations: 239.5 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.00565, allocations: 4 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.00567, allocations: 4 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.006029, allocations: 197.5 kB / 0.7892 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.006035, allocations: 7.938 kB / 0.7892 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.006035, allocations: 0 / 0.7892 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.006039, allocations: 0 / 0.7892 GB, free: 9.922 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004866/0.006526, allocations: 384 kB / 0.7896 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.006564, allocations: 13.58 kB / 0.7896 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.006851, allocations: 24.81 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.006958, allocations: 108.6 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.006968, allocations: 2.125 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.006977, allocations: 384 / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.007115, allocations: 75.88 kB / 0.7898 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007125, allocations: 3.938 kB / 0.7898 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.007134, allocations: 4 kB / 0.7898 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.007138, allocations: 1.031 kB / 0.7898 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.702e-05/0.007195, allocations: 12 kB / 0.7898 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.007585, allocations: 120.6 kB / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009828/0.008568, allocations: 145.3 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.019e-05/0.008628, allocations: 25.33 kB / 0.7901 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.696e-05/0.008705, allocations: 7.938 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.008737, allocations: 37.39 kB / 0.7901 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.008738, allocations: 0 / 0.7901 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001953/0.008933, allocations: 66.28 kB / 0.7902 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.008979, allocations: 55.39 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.009089, allocations: 155 kB / 0.7904 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.009113, allocations: 29.7 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.009181, allocations: 128 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.00921, allocations: 15.78 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.009257, allocations: 23.38 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002562/0.009513, allocations: 0.4897 MB / 0.791 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.009548, allocations: 7.938 kB / 0.7911 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.009569, allocations: 8 kB / 0.7911 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.076e-05/0.00963, allocations: 31.67 kB / 0.7911 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009631, allocations: 0.8438 kB / 0.7911 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.009737, allocations: 57.69 kB / 0.7911 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.009748, allocations: 4.844 kB / 0.7912 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.009751, allocations: 0 / 0.7912 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.009765, allocations: 5.219 kB / 0.7912 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.009826, allocations: 8 kB / 0.7912 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.009835, allocations: 7.922 kB / 0.7912 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.009863, allocations: 0 / 0.7912 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.00987, allocations: 0.8438 kB / 0.7912 GB, free: 7.703 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001195/0.009989, allocations: 161.5 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.01, allocations: 3.953 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.01022, allocations: 75.95 kB / 0.7914 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.01023, allocations: 7.938 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01023, allocations: 0 / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01024, allocations: 3.125 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.01037, allocations: 124.6 kB / 0.7915 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01037, allocations: 0 / 0.7915 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.01043, allocations: 8 kB / 0.7915 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01043, allocations: 0 / 0.7915 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.01045, allocations: 4 kB / 0.7915 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01045, allocations: 7.938 kB / 0.7916 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.01046, allocations: 3.938 kB / 0.7916 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.01062, allocations: 92.77 kB / 0.7916 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.01066, allocations: 8.422 kB / 0.7917 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.01067, allocations: 5.344 kB / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.01072, allocations: 4 kB / 0.7917 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.01075, allocations: 11.91 kB / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01076, allocations: 4 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.203e-05/0.01086, allocations: 120.2 kB / 0.7918 GB, free: 7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01086, allocations: 3.938 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002693/0.01112, allocations: 48.59 kB / 0.7918 GB, free: 6.949 MB / 0.7448 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 (5): * Single equations (assignments): 5 * 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.000356/0.01148, allocations: 174.4 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.01162, allocations: 39.61 kB / 0.792 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01162, allocations: 0 / 0.792 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.01166, allocations: 23.69 kB / 0.7921 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01186, allocations: 7.984 kB / 0.7921 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.01232, allocations: 136.4 kB / 0.7922 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.544e-05/0.01239, allocations: 62.11 kB / 0.7923 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.658e-05/0.01246, allocations: 18.03 kB / 0.7923 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.01249, allocations: 8.5 kB / 0.7923 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01249, allocations: 0 / 0.7923 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of Templates: time 0.004759/0.01725, allocations: 1.255 MB / 0.7935 GB, free: 5.207 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.990028999978676]