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.002201/0.002201, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002241/0.002241, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.793 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.335/3.335, allocations: 0.5107 GB / 0.8158 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.002199/0.002199, allocations: 63.62 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3481, allocations: 181.9 MB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003718/0.3518, allocations: 1.864 MB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1843/0.5361, allocations: 136.7 MB / 1.499 GB, free: 2.527 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.5362, allocations: 0 / 1.499 GB, free: 2.527 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.5364, allocations: 31.66 kB / 1.499 GB, free: 2.496 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.5367, allocations: 83.36 kB / 1.499 GB, free: 2.414 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.5374, allocations: 261.5 kB / 1.5 GB, free: 2.16 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.000308/0.5377, allocations: 267.2 kB / 1.5 GB, free: 1.898 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.5379, allocations: 46.55 kB / 1.5 GB, free: 1.855 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.5393, allocations: 257 kB / 1.5 GB, free: 1.625 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.5395, allocations: 83.61 kB / 1.5 GB, free: 1.543 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.5395, allocations: 16 kB / 1.5 GB, free: 1.527 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.5399, allocations: 179.7 kB / 1.5 GB, free: 1.352 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.54, allocations: 47.83 kB / 1.5 GB, free: 1.305 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.54, allocations: 75.66 kB / 1.5 GB, free: 1.23 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.5405, allocations: 298.8 kB / 1.501 GB, free: 0.9375 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5405, allocations: 0 / 1.501 GB, free: 0.9375 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5405, allocations: 4 kB / 1.501 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.5405, allocations: 4 kB / 1.501 GB, free: 0.9297 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.0009482/0.5414, allocations: 461.2 kB / 1.501 GB, free: 460 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5415, allocations: 16.03 kB / 1.501 GB, free: 444 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.5426, allocations: 107.8 kB / 1.501 GB, free: 336 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.5429, allocations: 177.9 kB / 1.501 GB, free: 132 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.151e-05/0.543, allocations: 63.73 kB / 1.502 GB, free: 56 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.543, allocations: 16 kB / 1.502 GB, free: 40 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.5436, allocations: 310 kB / 1.502 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.5436, allocations: 3.938 kB / 1.502 GB, free: 15.69 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.5436, allocations: 16 kB / 1.502 GB, free: 15.68 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.5437, allocations: 4 kB / 1.502 GB, free: 15.67 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.5441, allocations: 159.8 kB / 1.502 GB, free: 15.52 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.5458, allocations: 1.075 MB / 1.503 GB, free: 14.38 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.5466, allocations: 202.6 kB / 1.503 GB, free: 14.18 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.5468, allocations: 68.81 kB / 1.503 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.5468, allocations: 0 / 1.503 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.5469, allocations: 38.56 kB / 1.503 GB, free: 14.06 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.5469, allocations: 0 / 1.503 GB, free: 14.06 MB / 1.201 GB Notification: Performance of matching and sorting (n=12): time 0.002621/0.5495, allocations: 491 kB / 1.504 GB, free: 13.57 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.5495, allocations: 59.34 kB / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.5498, allocations: 178.4 kB / 1.504 GB, free: 13.31 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.5498, allocations: 29.7 kB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.5499, allocations: 152.1 kB / 1.504 GB, free: 13.12 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.5499, allocations: 43.64 kB / 1.504 GB, free: 13.08 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.55, allocations: 49.64 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5502, allocations: 326.8 kB / 1.505 GB, free: 12.7 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.5505, allocations: 75.88 kB / 1.505 GB, free: 12.62 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.5507, allocations: 154.5 kB / 1.505 GB, free: 12.44 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.5512, allocations: 205 kB / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5512, allocations: 0 / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001426/0.5526, allocations: 366.8 kB / 1.505 GB, free: 11.84 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.5526, allocations: 5.406 kB / 1.505 GB, free: 11.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5526, allocations: 4 kB / 1.505 GB, free: 11.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.5539, allocations: 161.8 kB / 1.506 GB, free: 11.67 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.5541, allocations: 43.91 kB / 1.506 GB, free: 11.63 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00425/0.5584, allocations: 2.993 MB / 1.509 GB, free: 8.426 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.5587, allocations: 27.88 kB / 1.509 GB, free: 8.398 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.5588, allocations: 11.98 kB / 1.509 GB, free: 8.387 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.0001473/0.5589, allocations: 121.8 kB / 1.509 GB, free: 8.258 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.559, allocations: 19.84 kB / 1.509 GB, free: 8.238 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.5603, allocations: 374.5 kB / 1.509 GB, free: 7.859 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5603, allocations: 4 kB / 1.509 GB, free: 7.855 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5603, allocations: 7.984 kB / 1.509 GB, free: 7.848 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5603, allocations: 0 / 1.509 GB, free: 7.848 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.5606, allocations: 189.1 kB / 1.509 GB, free: 7.633 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5606, allocations: 0 / 1.509 GB, free: 7.633 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.5607, allocations: 35.86 kB / 1.509 GB, free: 7.598 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008193/0.5616, allocations: 137.5 kB / 1.509 GB, free: 7.457 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.5616, allocations: 0 / 1.509 GB, free: 7.457 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003852/0.5654, allocations: 3.048 MB / 1.512 GB, free: 4.191 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/0.5654, allocations: 3.938 kB / 1.512 GB, free: 4.188 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.5667, allocations: 420.9 kB / 1.513 GB, free: 3.754 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.5668, allocations: 35.81 kB / 1.513 GB, free: 3.719 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.5669, allocations: 4 kB / 1.513 GB, free: 3.715 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.5671, allocations: 11.98 kB / 1.513 GB, free: 3.703 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.5672, allocations: 19.97 kB / 1.513 GB, free: 3.684 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.5672, allocations: 11.98 kB / 1.513 GB, free: 3.672 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001671/0.5674, allocations: 140.8 kB / 1.513 GB, free: 3.535 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5674, allocations: 0 / 1.513 GB, free: 3.535 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004397/0.5678, allocations: 75.89 kB / 1.513 GB, free: 3.461 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.0002183/0.5681, allocations: 122.2 kB / 1.513 GB, free: 3.332 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.5692, allocations: 433.8 kB / 1.514 GB, free: 2.883 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5692, allocations: 4 kB / 1.514 GB, free: 2.879 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007126/0.5699, allocations: 355 kB / 1.514 GB, free: 2.508 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.5703, allocations: 47.97 kB / 1.514 GB, free: 2.461 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.5713, allocations: 429.8 kB / 1.514 GB, free: 2.016 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.5714, allocations: 120.5 kB / 1.515 GB, free: 1.883 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.5716, allocations: 37.44 kB / 1.515 GB, free: 1.848 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.5716, allocations: 23.44 kB / 1.515 GB, free: 1.824 MB / 1.201 GB Notification: Performance of SimCode: time 4.21e-07/0.5716, allocations: 4 kB / 1.515 GB, free: 1.82 MB / 1.201 GB Notification: Performance of Templates: time 0.01026/0.5819, allocations: 5.03 MB / 1.52 GB, free: 12.87 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/jenkins/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: 9.502842362970114]