Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001803/0.001803, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002426/0.002426, allocations: 217.6 kB / 22.99 MB, free: 4.945 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.307/3.307, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [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.002116/0.002116, allocations: 74 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3681, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003372/0.3715, allocations: 1.87 MB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5566, allocations: 136.7 MB / 1.5 GB, free: 2.449 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.5568, allocations: 0 / 1.5 GB, free: 2.449 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.5571, allocations: 31.67 kB / 1.5 GB, free: 2.418 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.5575, allocations: 79.41 kB / 1.5 GB, free: 2.34 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008867/0.5584, allocations: 267.1 kB / 1.5 GB, free: 2.078 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.5588, allocations: 267.1 kB / 1.501 GB, free: 1.816 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.559, allocations: 46.55 kB / 1.501 GB, free: 1.773 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.5607, allocations: 252.3 kB / 1.501 GB, free: 1.551 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.5609, allocations: 83.59 kB / 1.501 GB, free: 1.469 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.561, allocations: 16 kB / 1.501 GB, free: 1.453 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.5614, allocations: 179.7 kB / 1.501 GB, free: 1.277 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 7.915e-05/0.5615, allocations: 43.83 kB / 1.501 GB, free: 1.234 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.5616, allocations: 75.66 kB / 1.501 GB, free: 1.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0005982/0.5622, allocations: 298.8 kB / 1.502 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5622, allocations: 0 / 1.502 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5622, allocations: 7.938 kB / 1.502 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.5622, allocations: 0 / 1.502 GB, free: 0.8594 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0011/0.5633, allocations: 465.3 kB / 1.502 GB, free: 384 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.5633, allocations: 12.03 kB / 1.502 GB, free: 372 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.5646, allocations: 111.8 kB / 1.502 GB, free: 260 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.5649, allocations: 172.8 kB / 1.502 GB, free: 60 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.565, allocations: 63.73 kB / 1.502 GB, free: 15.98 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.5651, allocations: 12 kB / 1.502 GB, free: 15.97 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00064/0.5657, allocations: 310 kB / 1.503 GB, free: 15.63 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5657, allocations: 3.938 kB / 1.503 GB, free: 15.62 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.5658, allocations: 19.98 kB / 1.503 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.5658, allocations: 4 kB / 1.503 GB, free: 15.6 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.5663, allocations: 159.8 kB / 1.503 GB, free: 15.45 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.5681, allocations: 1.083 MB / 1.504 GB, free: 14.3 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007891/0.5689, allocations: 202.6 kB / 1.504 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.569, allocations: 68.75 kB / 1.504 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.5691, allocations: 4 kB / 1.504 GB, free: 14.02 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.5691, allocations: 34.56 kB / 1.504 GB, free: 13.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.5691, allocations: 0 / 1.504 GB, free: 13.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=12): time 0.002677/0.5718, allocations: 486.7 kB / 1.505 GB, free: 13.49 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5718, allocations: 51.41 kB / 1.505 GB, free: 13.43 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.5721, allocations: 182.3 kB / 1.505 GB, free: 13.24 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.5721, allocations: 37.7 kB / 1.505 GB, free: 13.2 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.5722, allocations: 144.2 kB / 1.505 GB, free: 13.05 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.5723, allocations: 43.62 kB / 1.505 GB, free: 13.01 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.5724, allocations: 53.62 kB / 1.505 GB, free: 12.95 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5725, allocations: 326.8 kB / 1.505 GB, free: 12.62 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.5728, allocations: 67.95 kB / 1.505 GB, free: 12.55 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.5731, allocations: 159 kB / 1.506 GB, free: 12.37 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.5735, allocations: 205.7 kB / 1.506 GB, free: 12.14 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5735, allocations: 0 / 1.506 GB, free: 12.14 MB / 1.201 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0015/0.575, allocations: 366.8 kB / 1.506 GB, free: 11.77 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.575, allocations: 8 kB / 1.506 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.575, allocations: 224 / 1.506 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.5762, allocations: 169.5 kB / 1.506 GB, free: 11.59 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.5764, allocations: 39.91 kB / 1.506 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/0.5806, allocations: 2.986 MB / 1.509 GB, free: 8.355 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.581, allocations: 31.91 kB / 1.509 GB, free: 8.324 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.581, allocations: 4 kB / 1.509 GB, free: 8.32 MB / 1.201 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.0001728/0.5812, allocations: 134.9 kB / 1.509 GB, free: 8.18 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.5812, allocations: 15.91 kB / 1.509 GB, free: 8.164 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.5826, allocations: 373.7 kB / 1.51 GB, free: 7.785 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5826, allocations: 3.938 kB / 1.51 GB, free: 7.781 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5826, allocations: 4 kB / 1.51 GB, free: 7.777 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.5826, allocations: 7.984 kB / 1.51 GB, free: 7.77 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.5829, allocations: 189.1 kB / 1.51 GB, free: 7.555 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.5829, allocations: 4 kB / 1.51 GB, free: 7.551 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.5831, allocations: 27.92 kB / 1.51 GB, free: 7.523 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008248/0.5839, allocations: 137.6 kB / 1.51 GB, free: 7.383 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.5839, allocations: 0 / 1.51 GB, free: 7.383 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.5879, allocations: 3.04 MB / 1.513 GB, free: 4.125 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.5879, allocations: 8 kB / 1.513 GB, free: 4.117 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.5892, allocations: 428.8 kB / 1.514 GB, free: 3.676 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.5893, allocations: 27.83 kB / 1.514 GB, free: 3.648 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.5894, allocations: 4 kB / 1.514 GB, free: 3.645 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.5896, allocations: 15.97 kB / 1.514 GB, free: 3.629 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.5897, allocations: 19.97 kB / 1.514 GB, free: 3.609 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.5897, allocations: 8 kB / 1.514 GB, free: 3.602 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001788/0.5899, allocations: 136.8 kB / 1.514 GB, free: 3.469 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5899, allocations: 7.938 kB / 1.514 GB, free: 3.461 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004566/0.5904, allocations: 71.89 kB / 1.514 GB, free: 3.391 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 (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.0002315/0.5906, allocations: 126.3 kB / 1.514 GB, free: 3.258 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.5918, allocations: 443.1 kB / 1.514 GB, free: 2.801 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5918, allocations: 0 / 1.514 GB, free: 2.801 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007147/0.5926, allocations: 353.4 kB / 1.515 GB, free: 2.43 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.593, allocations: 45.27 kB / 1.515 GB, free: 2.387 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.594, allocations: 456.2 kB / 1.515 GB, free: 1.91 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.5942, allocations: 124.4 kB / 1.515 GB, free: 1.773 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.5943, allocations: 23.42 kB / 1.515 GB, free: 1.75 MB / 1.201 GB Notification: Performance of SimCode: time 5.41e-07/0.5943, allocations: 3.938 kB / 1.515 GB, free: 1.746 MB / 1.201 GB Notification: Performance of Templates: time 0.008028/0.6023, allocations: 4.238 MB / 1.519 GB, free: 13.51 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.10755545180291]