Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008542/0.0008542, allocations: 72.55 kB / 19.93 MB, free: 4.633 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.0008571/0.0008571, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8945/0.8945, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.735/1.735, allocations: 377.8 MB / 0.6228 GB, free: 8.668 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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.179e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00197/0.001992, allocations: 1.672 MB / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5951/0.5971, allocations: 131.5 MB / 1.112 GB, free: 23.04 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.5972, allocations: 5.344 kB / 1.112 GB, free: 23.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.5973, allocations: 25.67 kB / 1.112 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.5976, allocations: 62.16 kB / 1.112 GB, free: 22.97 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.5979, allocations: 189.8 kB / 1.113 GB, free: 22.88 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.598, allocations: 167.4 kB / 1.113 GB, free: 22.8 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.5981, allocations: 31.64 kB / 1.113 GB, free: 22.79 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008415/0.599, allocations: 228.2 kB / 1.113 GB, free: 22.72 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.572e-05/0.5991, allocations: 46.17 kB / 1.113 GB, free: 22.71 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.5991, allocations: 11.28 kB / 1.113 GB, free: 22.71 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.5993, allocations: 167.4 kB / 1.113 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.5994, allocations: 27.11 kB / 1.113 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.5994, allocations: 37.61 kB / 1.113 GB, free: 22.63 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.5997, allocations: 231 kB / 1.113 GB, free: 22.55 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.5997, allocations: 1.188 kB / 1.113 GB, free: 22.55 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5997, allocations: 4 kB / 1.113 GB, free: 22.55 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5997, allocations: 0.7031 kB / 1.113 GB, free: 22.55 MB / 0.9948 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.0005402/0.6003, allocations: 390.1 kB / 1.114 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6003, allocations: 9.938 kB / 1.114 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/0.6008, allocations: 79.81 kB / 1.114 GB, free: 22.22 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.6009, allocations: 150.8 kB / 1.114 GB, free: 22.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.6009, allocations: 7.875 kB / 1.114 GB, free: 22.06 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.6009, allocations: 8.906 kB / 1.114 GB, free: 22.06 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.6012, allocations: 178.9 kB / 1.114 GB, free: 21.96 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.6013, allocations: 0 / 1.114 GB, free: 21.96 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.6013, allocations: 8.422 kB / 1.114 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6013, allocations: 2.781 kB / 1.114 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.6016, allocations: 147.9 kB / 1.114 GB, free: 21.91 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.6022, allocations: 0.7003 MB / 1.115 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.6024, allocations: 126.9 kB / 1.115 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.6025, allocations: 75.23 kB / 1.115 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.6026, allocations: 2.266 kB / 1.115 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.6026, allocations: 39.91 kB / 1.115 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.6026, allocations: 0 / 1.115 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0009999/0.6036, allocations: 380.2 kB / 1.116 GB, free: 21.07 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.6036, allocations: 52.59 kB / 1.116 GB, free: 21.01 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.6037, allocations: 143.5 kB / 1.116 GB, free: 20.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.6037, allocations: 25.7 kB / 1.116 GB, free: 20.87 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.6037, allocations: 111.8 kB / 1.116 GB, free: 20.76 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.6038, allocations: 26.84 kB / 1.116 GB, free: 20.74 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.6038, allocations: 35.5 kB / 1.116 GB, free: 20.71 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.6038, allocations: 327.7 kB / 1.116 GB, free: 20.39 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.604, allocations: 69.61 kB / 1.116 GB, free: 20.38 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.6041, allocations: 99.02 kB / 1.116 GB, free: 20.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.6044, allocations: 182.6 kB / 1.117 GB, free: 20.23 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6044, allocations: 1 kB / 1.117 GB, free: 20.23 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005736/0.605, allocations: 278.9 kB / 1.117 GB, free: 20.13 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.605, allocations: 8.344 kB / 1.117 GB, free: 20.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.605, allocations: 2.516 kB / 1.117 GB, free: 20.13 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.6053, allocations: 82.22 kB / 1.117 GB, free: 20.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.6054, allocations: 45.72 kB / 1.117 GB, free: 20.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.6066, allocations: 1.521 MB / 1.119 GB, free: 18.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.6067, allocations: 27.91 kB / 1.119 GB, free: 18.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.6067, allocations: 7.891 kB / 1.119 GB, free: 18.75 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 6.375e-05/0.6067, allocations: 126.8 kB / 1.119 GB, free: 18.62 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.6068, allocations: 15.23 kB / 1.119 GB, free: 18.61 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/0.6073, allocations: 302.2 kB / 1.119 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6074, allocations: 1.656 kB / 1.119 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.6074, allocations: 1.094 kB / 1.119 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6074, allocations: 0.8438 kB / 1.119 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.6075, allocations: 186 kB / 1.119 GB, free: 18.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6075, allocations: 0 / 1.119 GB, free: 18.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.6076, allocations: 34.36 kB / 1.119 GB, free: 18.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.6078, allocations: 76.88 kB / 1.119 GB, free: 18.32 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6078, allocations: 2.891 kB / 1.119 GB, free: 18.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009087/0.6087, allocations: 1.551 MB / 1.121 GB, free: 16.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6087, allocations: 0 / 1.121 GB, free: 16.95 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.6093, allocations: 387.8 kB / 1.121 GB, free: 16.74 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.6093, allocations: 26.14 kB / 1.121 GB, free: 16.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.6093, allocations: 9.406 kB / 1.121 GB, free: 16.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.6094, allocations: 13.31 kB / 1.121 GB, free: 16.72 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.6095, allocations: 16.7 kB / 1.121 GB, free: 16.72 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.6095, allocations: 3.984 kB / 1.121 GB, free: 16.72 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.949e-05/0.6095, allocations: 107.5 kB / 1.121 GB, free: 16.64 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6095, allocations: 1.094 kB / 1.121 GB, free: 16.64 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00022/0.6097, allocations: 40.72 kB / 1.121 GB, free: 16.63 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.000152/0.6099, allocations: 117.4 kB / 1.122 GB, free: 16.54 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005117/0.6104, allocations: 314.9 kB / 1.122 GB, free: 16.37 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6104, allocations: 0 / 1.122 GB, free: 16.37 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.6107, allocations: 223.4 kB / 1.122 GB, free: 16.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.6109, allocations: 28.27 kB / 1.122 GB, free: 16.21 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.6114, allocations: 337.6 kB / 1.122 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.592e-05/0.6115, allocations: 94.62 kB / 1.122 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.6115, allocations: 24.64 kB / 1.122 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of SimCode: time 4.31e-07/0.6115, allocations: 0 / 1.122 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of Templates: time 0.003931/0.6155, allocations: 2.734 MB / 1.125 GB, free: 15.72 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.749298562295735]