Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001856/0.001856, allocations: 82.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002296/0.002296, allocations: 165.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.66/1.66, allocations: 177.1 MB / 202.8 MB, free: 9.203 MB / 190.1 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.689/2.689, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.933e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003839/0.003868, allocations: 1.867 MB / 0.9528 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1812/0.1851, allocations: 136.7 MB / 1.086 GB, free: 472 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.1852, allocations: 3.938 kB / 1.086 GB, free: 468 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1854, allocations: 31.67 kB / 1.086 GB, free: 436 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.1858, allocations: 79.41 kB / 1.086 GB, free: 356 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000821/0.1866, allocations: 266.9 kB / 1.087 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.1871, allocations: 279.1 kB / 1.087 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.1872, allocations: 50.58 kB / 1.087 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.1889, allocations: 302.2 kB / 1.087 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.1891, allocations: 71.78 kB / 1.087 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.1891, allocations: 16 kB / 1.087 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.1895, allocations: 187.6 kB / 1.088 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.1896, allocations: 47.81 kB / 1.088 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1897, allocations: 59.89 kB / 1.088 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.1903, allocations: 327 kB / 1.088 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1903, allocations: 0 / 1.088 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1903, allocations: 0 / 1.088 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.1903, allocations: 0 / 1.088 GB, free: 14.79 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001067/0.1914, allocations: 465.2 kB / 1.088 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1915, allocations: 8.031 kB / 1.088 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.1927, allocations: 115.7 kB / 1.089 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.1931, allocations: 164.9 kB / 1.089 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.1932, allocations: 63.73 kB / 1.089 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.1932, allocations: 23.92 kB / 1.089 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006714/0.1939, allocations: 310 kB / 1.089 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1939, allocations: 7.984 kB / 1.089 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.1939, allocations: 8 kB / 1.089 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.1939, allocations: 8 kB / 1.089 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.1945, allocations: 163.8 kB / 1.089 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.1962, allocations: 1.071 MB / 1.09 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/0.197, allocations: 198.7 kB / 1.09 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.1972, allocations: 64.81 kB / 1.091 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1973, allocations: 0 / 1.091 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.1973, allocations: 46.5 kB / 1.091 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1973, allocations: 0 / 1.091 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.002837/0.2001, allocations: 478.8 kB / 1.091 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.2002, allocations: 59.34 kB / 1.091 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.2004, allocations: 187.9 kB / 1.091 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.2005, allocations: 29.7 kB / 1.091 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2006, allocations: 144.2 kB / 1.091 GB, free: 11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.2006, allocations: 43.64 kB / 1.091 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2007, allocations: 45.69 kB / 1.092 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2009, allocations: 322.8 kB / 1.092 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.2011, allocations: 71.88 kB / 1.092 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.2014, allocations: 163.2 kB / 1.092 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.202, allocations: 194.7 kB / 1.092 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.202, allocations: 4.031 kB / 1.092 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001608/0.2036, allocations: 374.6 kB / 1.093 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2036, allocations: 4.219 kB / 1.093 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2036, allocations: 8 kB / 1.093 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.2047, allocations: 157.5 kB / 1.093 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.205, allocations: 35.97 kB / 1.093 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.2093, allocations: 2.993 MB / 1.096 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.2097, allocations: 39.81 kB / 1.096 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.2097, allocations: 8 kB / 1.096 GB, free: 6.27 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.2099, allocations: 133.8 kB / 1.096 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.21, allocations: 19.91 kB / 1.096 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.2113, allocations: 364.3 kB / 1.096 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2113, allocations: 4 kB / 1.096 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2113, allocations: 3.938 kB / 1.096 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2114, allocations: 3.984 kB / 1.096 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.2116, allocations: 193.1 kB / 1.096 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2116, allocations: 3.938 kB / 1.096 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.2118, allocations: 19.98 kB / 1.096 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008619/0.2126, allocations: 141.5 kB / 1.097 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.2127, allocations: 4 kB / 1.097 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.2167, allocations: 3.029 MB / 1.1 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2167, allocations: 0 / 1.1 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.2181, allocations: 443 kB / 1.1 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.2182, allocations: 27.83 kB / 1.1 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.2182, allocations: 8 kB / 1.1 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.2185, allocations: 15.98 kB / 1.1 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.2186, allocations: 23.89 kB / 1.1 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.2186, allocations: 8 kB / 1.1 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001963/0.2188, allocations: 143.5 kB / 1.1 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.2188, allocations: 0 / 1.1 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004297/0.2192, allocations: 67.94 kB / 1.1 GB, free: 1.352 MB / 0.9981 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002384/0.2195, allocations: 115.2 kB / 1.1 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.2206, allocations: 437.5 kB / 1.101 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2206, allocations: 0 / 1.101 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00074/0.2214, allocations: 345.2 kB / 1.101 GB, free: 424 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.2218, allocations: 51.84 kB / 1.101 GB, free: 372 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4817/0.7036, allocations: 414.2 kB / 1.102 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.7037, allocations: 130.3 kB / 1.102 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000228/0.7039, allocations: 28.88 kB / 1.102 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.704, allocations: 20.12 kB / 1.102 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/0.704, allocations: 1.344 kB / 1.102 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01294/0.717, allocations: 4.869 MB / 1.106 GB, free: 161.9 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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: 9.002073347568512]