Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.002568/0.002568, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.003147/0.003147, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.321/3.321, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.732e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003216/0.003244, allocations: 1.701 MB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1999/0.2032, allocations: 145.3 MB / 1.021 GB, free: 3.191 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.2033, allocations: 0 / 1.021 GB, free: 3.191 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.2035, allocations: 31.73 kB / 1.021 GB, free: 3.16 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.2038, allocations: 59.5 kB / 1.021 GB, free: 3.102 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.2044, allocations: 191.2 kB / 1.021 GB, free: 2.914 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.2047, allocations: 163.4 kB / 1.021 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2048, allocations: 33.22 kB / 1.021 GB, free: 2.723 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.2067, allocations: 283.5 kB / 1.022 GB, free: 2.504 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.2069, allocations: 47.88 kB / 1.022 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.2069, allocations: 12 kB / 1.022 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.2073, allocations: 163.7 kB / 1.022 GB, free: 2.285 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.2073, allocations: 23.91 kB / 1.022 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.2074, allocations: 39.91 kB / 1.022 GB, free: 2.223 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.2079, allocations: 235.2 kB / 1.022 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2079, allocations: 0 / 1.022 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2079, allocations: 4 kB / 1.022 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2079, allocations: 0 / 1.022 GB, free: 1.988 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009346/0.2088, allocations: 487.5 kB / 1.023 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2088, allocations: 8.031 kB / 1.023 GB, free: 1.469 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008903/0.2097, allocations: 92.64 kB / 1.023 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.21, allocations: 155.8 kB / 1.023 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.21, allocations: 3.938 kB / 1.023 GB, free: 1.195 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.21, allocations: 12 kB / 1.023 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.2105, allocations: 177.6 kB / 1.023 GB, free: 0.9844 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2105, allocations: 0 / 1.023 GB, free: 0.9844 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.2105, allocations: 8 kB / 1.023 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2105, allocations: 0 / 1.023 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.2109, allocations: 118.6 kB / 1.023 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.2122, allocations: 0.9208 MB / 1.024 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.2126, allocations: 119 kB / 1.024 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.2128, allocations: 63.66 kB / 1.024 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.2128, allocations: 7.938 kB / 1.024 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2129, allocations: 33.55 kB / 1.024 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2129, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.001839/0.2147, allocations: 345 kB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.2147, allocations: 51.41 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.2149, allocations: 207 kB / 1.025 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.215, allocations: 29.7 kB / 1.025 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.2151, allocations: 162.8 kB / 1.025 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.2152, allocations: 27.78 kB / 1.025 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.2152, allocations: 39.31 kB / 1.025 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002567/0.2155, allocations: 0.4961 MB / 1.026 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.2157, allocations: 55.97 kB / 1.026 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.2159, allocations: 106.3 kB / 1.026 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.2163, allocations: 154.3 kB / 1.026 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2163, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001006/0.2173, allocations: 253.1 kB / 1.026 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2173, allocations: 4 kB / 1.026 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2174, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.2184, allocations: 131.6 kB / 1.026 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.2185, allocations: 23.97 kB / 1.026 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.2213, allocations: 1.974 MB / 1.028 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.2214, allocations: 15.89 kB / 1.028 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.2215, allocations: 11.92 kB / 1.028 GB, free: 11.33 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.2216, allocations: 168.5 kB / 1.028 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.2217, allocations: 15.98 kB / 1.028 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.2227, allocations: 269.5 kB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2227, allocations: 4 kB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.2227, allocations: 0 / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2228, allocations: 7.922 kB / 1.029 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.2231, allocations: 180.5 kB / 1.029 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2231, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.2233, allocations: 35.91 kB / 1.029 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007842/0.224, allocations: 111.6 kB / 1.029 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.2241, allocations: 3.984 kB / 1.029 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.2267, allocations: 1.993 MB / 1.031 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2267, allocations: 0 / 1.031 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.2278, allocations: 399.3 kB / 1.031 GB, free: 7.957 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.2279, allocations: 23.88 kB / 1.031 GB, free: 7.934 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.2279, allocations: 4 kB / 1.031 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.2281, allocations: 15.98 kB / 1.031 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.2282, allocations: 15.97 kB / 1.031 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.2282, allocations: 4 kB / 1.031 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001195/0.2283, allocations: 157.6 kB / 1.032 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.2283, allocations: 0 / 1.032 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003383/0.2286, allocations: 47.94 kB / 1.032 GB, free: 7.695 MB / 0.9948 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002211/0.2289, allocations: 115 kB / 1.032 GB, free: 7.57 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0009232/0.2298, allocations: 349.3 kB / 1.032 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2298, allocations: 0 / 1.032 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005747/0.2304, allocations: 273.7 kB / 1.032 GB, free: 6.918 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.2307, allocations: 26.22 kB / 1.032 GB, free: 6.895 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009015/0.2316, allocations: 306.5 kB / 1.033 GB, free: 6.566 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2317, allocations: 93.81 kB / 1.033 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.2318, allocations: 28.42 kB / 1.033 GB, free: 6.43 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.2319, allocations: 24.48 kB / 1.033 GB, free: 6.406 MB / 0.9948 GB Notification: Performance of SimCode: time 5.21e-07/0.2319, allocations: 0 / 1.033 GB, free: 6.406 MB / 0.9948 GB Notification: Performance of Templates: time 0.008757/0.2407, allocations: 3.261 MB / 1.036 GB, free: 3.199 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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: 8.821173298056237]