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.001789/0.001789, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002265/0.002265, allocations: 215.3 kB / 23.01 MB, free: 4.602 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.201/3.201, allocations: 0.505 GB / 0.8108 GB, free: 22.07 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.002186/0.002186, allocations: 71.2 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3667, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.0033/0.37, allocations: 1.943 MB / 1.356 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1854/0.5555, allocations: 158.9 MB / 1.511 GB, free: 6.523 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.5557, allocations: 3.938 kB / 1.511 GB, free: 6.52 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.5559, allocations: 27.73 kB / 1.511 GB, free: 6.492 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.5562, allocations: 79.41 kB / 1.511 GB, free: 6.414 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007646/0.5569, allocations: 265.9 kB / 1.511 GB, free: 6.156 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.5573, allocations: 267.1 kB / 1.512 GB, free: 5.895 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.5574, allocations: 54.53 kB / 1.512 GB, free: 5.84 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.5589, allocations: 251.1 kB / 1.512 GB, free: 5.617 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.5591, allocations: 95.59 kB / 1.512 GB, free: 5.523 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.5591, allocations: 16 kB / 1.512 GB, free: 5.508 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.5595, allocations: 195.7 kB / 1.512 GB, free: 5.316 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.5596, allocations: 43.83 kB / 1.512 GB, free: 5.273 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.5597, allocations: 95.52 kB / 1.512 GB, free: 5.18 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.5601, allocations: 294.8 kB / 1.513 GB, free: 4.891 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5601, allocations: 0 / 1.513 GB, free: 4.891 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5601, allocations: 0 / 1.513 GB, free: 4.891 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.5601, allocations: 0 / 1.513 GB, free: 4.891 MB / 1.201 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.0009553/0.5611, allocations: 469.2 kB / 1.513 GB, free: 4.402 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.5611, allocations: 8.031 kB / 1.513 GB, free: 4.395 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.5623, allocations: 119.7 kB / 1.513 GB, free: 4.277 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.5626, allocations: 170.2 kB / 1.513 GB, free: 4.086 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.966e-05/0.5627, allocations: 67.67 kB / 1.514 GB, free: 4.008 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.5627, allocations: 12 kB / 1.514 GB, free: 3.996 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.5633, allocations: 266.6 kB / 1.514 GB, free: 3.707 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5633, allocations: 0 / 1.514 GB, free: 3.707 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.5633, allocations: 8 kB / 1.514 GB, free: 3.699 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.5633, allocations: 8 kB / 1.514 GB, free: 3.691 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.5638, allocations: 167.8 kB / 1.514 GB, free: 3.527 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.5655, allocations: 1.148 MB / 1.515 GB, free: 2.309 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.5663, allocations: 190.7 kB / 1.515 GB, free: 2.113 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.5664, allocations: 64.83 kB / 1.515 GB, free: 2.047 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.5665, allocations: 15.86 kB / 1.515 GB, free: 2.031 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.5665, allocations: 42.53 kB / 1.515 GB, free: 1.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.5665, allocations: 0 / 1.515 GB, free: 1.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=12): time 0.002685/0.5692, allocations: 490.7 kB / 1.516 GB, free: 1.488 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.5692, allocations: 51.41 kB / 1.516 GB, free: 1.426 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.5695, allocations: 218.7 kB / 1.516 GB, free: 1.203 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.5695, allocations: 37.7 kB / 1.516 GB, free: 1.16 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.5696, allocations: 136.2 kB / 1.516 GB, free: 1.023 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.5697, allocations: 39.69 kB / 1.516 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.056e-05/0.5698, allocations: 49.64 kB / 1.516 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.5699, allocations: 330.8 kB / 1.517 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.5701, allocations: 71.89 kB / 1.517 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.5704, allocations: 133.9 kB / 1.517 GB, free: 380 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.5708, allocations: 201.7 kB / 1.517 GB, free: 156 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5708, allocations: 0 / 1.517 GB, free: 156 kB / 1.201 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001478/0.5723, allocations: 378.7 kB / 1.517 GB, free: 15.77 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5723, allocations: 4.219 kB / 1.517 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5723, allocations: 8 kB / 1.517 GB, free: 15.76 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.5734, allocations: 157.5 kB / 1.518 GB, free: 15.6 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.5736, allocations: 35.95 kB / 1.518 GB, free: 15.56 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/0.5777, allocations: 3.053 MB / 1.521 GB, free: 12.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.578, allocations: 35.88 kB / 1.521 GB, free: 12.23 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.5781, allocations: 11.98 kB / 1.521 GB, free: 12.22 MB / 1.217 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.0001439/0.5782, allocations: 130.4 kB / 1.521 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.5783, allocations: 19.86 kB / 1.521 GB, free: 12.07 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.5796, allocations: 370.1 kB / 1.521 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5796, allocations: 0 / 1.521 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.5796, allocations: 0 / 1.521 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5796, allocations: 0 / 1.521 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.5799, allocations: 256.4 kB / 1.521 GB, free: 11.4 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5799, allocations: 4 kB / 1.521 GB, free: 11.39 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.58, allocations: 23.92 kB / 1.521 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008117/0.5808, allocations: 137.7 kB / 1.522 GB, free: 11.23 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.5809, allocations: 11.98 kB / 1.522 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003803/0.5847, allocations: 3.094 MB / 1.525 GB, free: 7.891 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5847, allocations: 0 / 1.525 GB, free: 7.891 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.586, allocations: 434.6 kB / 1.525 GB, free: 7.445 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.5861, allocations: 35.72 kB / 1.525 GB, free: 7.41 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.5861, allocations: 19.92 kB / 1.525 GB, free: 7.391 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.5864, allocations: 15.98 kB / 1.525 GB, free: 7.375 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.5865, allocations: 11.97 kB / 1.525 GB, free: 7.363 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.5865, allocations: 8 kB / 1.525 GB, free: 7.355 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001886/0.5867, allocations: 159.9 kB / 1.525 GB, free: 7.199 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5867, allocations: 0 / 1.525 GB, free: 7.199 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004214/0.5871, allocations: 67.94 kB / 1.525 GB, free: 7.133 MB / 1.217 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.0001877/0.5873, allocations: 115.2 kB / 1.525 GB, free: 7.008 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.5883, allocations: 445.7 kB / 1.526 GB, free: 6.547 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5883, allocations: 0 / 1.526 GB, free: 6.547 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006796/0.589, allocations: 357.2 kB / 1.526 GB, free: 6.172 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.5894, allocations: 63.97 kB / 1.526 GB, free: 6.109 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/0.5904, allocations: 449.6 kB / 1.527 GB, free: 5.641 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.5908, allocations: 0.74 MB / 1.527 GB, free: 4.875 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.5908, allocations: 19.44 kB / 1.527 GB, free: 4.855 MB / 1.217 GB Notification: Performance of SimCode: time 3.2e-07/0.5908, allocations: 3.938 kB / 1.527 GB, free: 4.852 MB / 1.217 GB Notification: Performance of Templates: time 0.00726/0.5981, allocations: 4.444 MB / 1.532 GB, free: 428 kB / 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.335108461993514]