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.00171/0.00171, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002068/0.002068, allocations: 223.4 kB / 23 MB, free: 4.914 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 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.303/3.303, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 62.53 kB / 1.187 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3886, allocations: 181.9 MB / 1.365 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002998/0.3916, allocations: 1.657 MB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.5675, allocations: 131.5 MB / 1.495 GB, free: 8.039 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.5677, allocations: 0 / 1.495 GB, free: 8.039 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.5679, allocations: 31.8 kB / 1.495 GB, free: 8.008 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.5683, allocations: 55.58 kB / 1.495 GB, free: 7.953 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006491/0.5689, allocations: 179.3 kB / 1.495 GB, free: 7.777 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.5692, allocations: 167.5 kB / 1.495 GB, free: 7.613 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.5694, allocations: 29.23 kB / 1.495 GB, free: 7.586 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.571, allocations: 209 kB / 1.495 GB, free: 7.402 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.5712, allocations: 55.75 kB / 1.495 GB, free: 7.348 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.5712, allocations: 8 kB / 1.495 GB, free: 7.34 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.5716, allocations: 163.7 kB / 1.496 GB, free: 7.18 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.5717, allocations: 23.91 kB / 1.496 GB, free: 7.156 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 9.025e-05/0.5717, allocations: 51.77 kB / 1.496 GB, free: 7.105 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0005943/0.5723, allocations: 203.3 kB / 1.496 GB, free: 6.906 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.5723, allocations: 4 kB / 1.496 GB, free: 6.902 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5723, allocations: 7.938 kB / 1.496 GB, free: 6.895 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.5724, allocations: 0 / 1.496 GB, free: 6.895 MB / 1.186 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.001288/0.5737, allocations: 397.4 kB / 1.496 GB, free: 6.477 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.5737, allocations: 8.031 kB / 1.496 GB, free: 6.469 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.5748, allocations: 76.8 kB / 1.496 GB, free: 6.395 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.5751, allocations: 159.1 kB / 1.496 GB, free: 6.215 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.5751, allocations: 8 kB / 1.496 GB, free: 6.207 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.5752, allocations: 12 kB / 1.496 GB, free: 6.195 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.5757, allocations: 182.8 kB / 1.497 GB, free: 5.996 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5757, allocations: 0 / 1.497 GB, free: 5.996 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.5757, allocations: 0 / 1.497 GB, free: 5.996 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5757, allocations: 4 kB / 1.497 GB, free: 5.992 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.5762, allocations: 149.6 kB / 1.497 GB, free: 5.848 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.5775, allocations: 0.692 MB / 1.497 GB, free: 5.109 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.5779, allocations: 122.5 kB / 1.498 GB, free: 4.98 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.5782, allocations: 80.78 kB / 1.498 GB, free: 4.898 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.5782, allocations: 4 kB / 1.498 GB, free: 4.895 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.5782, allocations: 38.44 kB / 1.498 GB, free: 4.848 MB / 1.186 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.5782, allocations: 0 / 1.498 GB, free: 4.848 MB / 1.186 GB Notification: Performance of matching and sorting (n=8): time 0.001972/0.5802, allocations: 382.1 kB / 1.498 GB, free: 4.465 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.5803, allocations: 59.34 kB / 1.498 GB, free: 4.395 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.5805, allocations: 147.3 kB / 1.498 GB, free: 4.242 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.5805, allocations: 25.7 kB / 1.498 GB, free: 4.211 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5806, allocations: 112 kB / 1.498 GB, free: 4.098 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.5806, allocations: 35.88 kB / 1.498 GB, free: 4.062 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.5807, allocations: 37.7 kB / 1.498 GB, free: 4.02 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5809, allocations: 318.8 kB / 1.499 GB, free: 3.699 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.5811, allocations: 67.94 kB / 1.499 GB, free: 3.633 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.5814, allocations: 100.2 kB / 1.499 GB, free: 3.52 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.5819, allocations: 180.1 kB / 1.499 GB, free: 3.328 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5819, allocations: 0 / 1.499 GB, free: 3.328 MB / 1.186 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001051/0.583, allocations: 278.2 kB / 1.499 GB, free: 3.047 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.583, allocations: 7.938 kB / 1.499 GB, free: 3.039 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.583, allocations: 4 kB / 1.499 GB, free: 3.035 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/0.5836, allocations: 84.88 kB / 1.499 GB, free: 2.949 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.5839, allocations: 35.89 kB / 1.499 GB, free: 2.914 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.5861, allocations: 1.525 MB / 1.501 GB, free: 1.277 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.5863, allocations: 28.02 kB / 1.501 GB, free: 1.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.5864, allocations: 8 kB / 1.501 GB, free: 1.242 MB / 1.186 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.0001256/0.5865, allocations: 125.7 kB / 1.501 GB, free: 1.109 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.5865, allocations: 11.89 kB / 1.501 GB, free: 1.098 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.5876, allocations: 307 kB / 1.501 GB, free: 0.793 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5876, allocations: 7.938 kB / 1.501 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5876, allocations: 4 kB / 1.501 GB, free: 0.7812 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5876, allocations: 0 / 1.501 GB, free: 0.7812 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.5879, allocations: 169.3 kB / 1.502 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5879, allocations: 3.938 kB / 1.502 GB, free: 0.582 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.5881, allocations: 31.95 kB / 1.502 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/0.5885, allocations: 80.77 kB / 1.502 GB, free: 480 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.5885, allocations: 3.984 kB / 1.502 GB, free: 476 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.5905, allocations: 1.547 MB / 1.503 GB, free: 14.81 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5905, allocations: 0 / 1.503 GB, free: 14.81 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.5916, allocations: 382.6 kB / 1.504 GB, free: 14.42 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.5916, allocations: 23.94 kB / 1.504 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.5917, allocations: 0 / 1.504 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.5919, allocations: 19.97 kB / 1.504 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.592, allocations: 19.97 kB / 1.504 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.592, allocations: 0 / 1.504 GB, free: 14.36 MB / 1.201 GB Notification: Performance of sorting global known variables: time 9.18e-05/0.5921, allocations: 113.2 kB / 1.504 GB, free: 14.25 MB / 1.201 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5921, allocations: 0 / 1.504 GB, free: 14.25 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000359/0.5924, allocations: 51.89 kB / 1.504 GB, free: 14.2 MB / 1.201 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.0002036/0.5926, allocations: 111.1 kB / 1.504 GB, free: 14.08 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009381/0.5936, allocations: 311.1 kB / 1.504 GB, free: 13.76 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5936, allocations: 0 / 1.504 GB, free: 13.76 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.5941, allocations: 218.6 kB / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.5945, allocations: 38.53 kB / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009007/0.5954, allocations: 345.2 kB / 1.505 GB, free: 13.13 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.5955, allocations: 97.55 kB / 1.505 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.5955, allocations: 23.42 kB / 1.505 GB, free: 12.99 MB / 1.201 GB Notification: Performance of SimCode: time 3.81e-07/0.5955, allocations: 0 / 1.505 GB, free: 12.99 MB / 1.201 GB Notification: Performance of Templates: time 0.00551/0.601, allocations: 2.714 MB / 1.508 GB, free: 10.29 MB / 1.201 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 11.919102543964982]