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.001784/0.001784, allocations: 100.4 kB / 19.7 MB, free: 1.988 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.002399/0.002399, allocations: 213.8 kB / 22.99 MB, free: 4.918 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.314/3.314, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002163/0.002163, allocations: 64.77 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3417, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003042/0.3447, allocations: 1.649 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1784/0.5231, allocations: 131.5 MB / 1.457 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.5232, allocations: 4 kB / 1.457 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.5234, allocations: 19.8 kB / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.5237, allocations: 59.56 kB / 1.457 GB, free: 11.21 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.5243, allocations: 195.3 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.5245, allocations: 155.5 kB / 1.458 GB, free: 10.87 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.5247, allocations: 21.3 kB / 1.458 GB, free: 10.85 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.5262, allocations: 218.6 kB / 1.458 GB, free: 10.66 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.5263, allocations: 59.75 kB / 1.458 GB, free: 10.6 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.5263, allocations: 12 kB / 1.458 GB, free: 10.59 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.5267, allocations: 167.7 kB / 1.458 GB, free: 10.42 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.5267, allocations: 31.89 kB / 1.458 GB, free: 10.39 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.5268, allocations: 39.8 kB / 1.458 GB, free: 10.35 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.5272, allocations: 207.3 kB / 1.458 GB, free: 10.15 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5272, allocations: 4 kB / 1.458 GB, free: 10.14 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5272, allocations: 3.938 kB / 1.458 GB, free: 10.14 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.5272, allocations: 0 / 1.458 GB, free: 10.14 MB / 1.154 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.0009988/0.5282, allocations: 397.5 kB / 1.459 GB, free: 9.723 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.5282, allocations: 12.03 kB / 1.459 GB, free: 9.711 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009737/0.5292, allocations: 76.77 kB / 1.459 GB, free: 9.637 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.5295, allocations: 152.9 kB / 1.459 GB, free: 9.461 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.5295, allocations: 8 kB / 1.459 GB, free: 9.453 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.5295, allocations: 4 kB / 1.459 GB, free: 9.449 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.53, allocations: 190.8 kB / 1.459 GB, free: 9.242 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.53, allocations: 0 / 1.459 GB, free: 9.242 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.5301, allocations: 8 kB / 1.459 GB, free: 9.234 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5301, allocations: 0 / 1.459 GB, free: 9.234 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.5306, allocations: 139.8 kB / 1.459 GB, free: 9.098 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.5318, allocations: 0.6999 MB / 1.46 GB, free: 8.352 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.5322, allocations: 130.5 kB / 1.46 GB, free: 8.215 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.5325, allocations: 76.8 kB / 1.46 GB, free: 8.137 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.5325, allocations: 0 / 1.46 GB, free: 8.137 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.5326, allocations: 34.56 kB / 1.46 GB, free: 8.094 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.5326, allocations: 0 / 1.46 GB, free: 8.094 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.002133/0.5347, allocations: 390.2 kB / 1.46 GB, free: 7.703 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.5347, allocations: 51.41 kB / 1.461 GB, free: 7.641 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.5349, allocations: 147.9 kB / 1.461 GB, free: 7.488 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.5349, allocations: 29.7 kB / 1.461 GB, free: 7.453 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.535, allocations: 115.9 kB / 1.461 GB, free: 7.336 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.5351, allocations: 27.75 kB / 1.461 GB, free: 7.309 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.5352, allocations: 33.69 kB / 1.461 GB, free: 7.27 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5353, allocations: 318.8 kB / 1.461 GB, free: 6.949 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.5356, allocations: 79.86 kB / 1.461 GB, free: 6.871 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.5359, allocations: 96.23 kB / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.5364, allocations: 180.1 kB / 1.462 GB, free: 6.57 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5364, allocations: 0 / 1.462 GB, free: 6.57 MB / 1.154 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001149/0.5376, allocations: 278.1 kB / 1.462 GB, free: 6.289 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5376, allocations: 7.938 kB / 1.462 GB, free: 6.281 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5376, allocations: 4 kB / 1.462 GB, free: 6.277 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007025/0.5383, allocations: 84.89 kB / 1.462 GB, free: 6.191 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.5385, allocations: 31.95 kB / 1.462 GB, free: 6.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.5409, allocations: 1.54 MB / 1.463 GB, free: 4.508 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.5411, allocations: 15.98 kB / 1.463 GB, free: 4.492 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.5411, allocations: 11.98 kB / 1.463 GB, free: 4.48 MB / 1.154 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.0001453/0.5413, allocations: 122.2 kB / 1.464 GB, free: 4.352 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.5413, allocations: 8.016 kB / 1.464 GB, free: 4.344 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.5425, allocations: 314.9 kB / 1.464 GB, free: 4.031 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.5425, allocations: 11.88 kB / 1.464 GB, free: 4.02 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.5425, allocations: 0 / 1.464 GB, free: 4.02 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5425, allocations: 0 / 1.464 GB, free: 4.02 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.5428, allocations: 157.3 kB / 1.464 GB, free: 3.836 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5428, allocations: 0 / 1.464 GB, free: 3.836 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.543, allocations: 39.89 kB / 1.464 GB, free: 3.797 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004835/0.5435, allocations: 80.95 kB / 1.464 GB, free: 3.715 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.5435, allocations: 7.984 kB / 1.464 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.5456, allocations: 1.555 MB / 1.466 GB, free: 2.043 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5456, allocations: 400 / 1.466 GB, free: 2.043 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.5467, allocations: 373.5 kB / 1.466 GB, free: 1.66 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.5468, allocations: 27.88 kB / 1.466 GB, free: 1.633 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.5468, allocations: 4 kB / 1.466 GB, free: 1.629 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.547, allocations: 19.97 kB / 1.466 GB, free: 1.609 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.5471, allocations: 11.98 kB / 1.466 GB, free: 1.598 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.5471, allocations: 11.98 kB / 1.466 GB, free: 1.586 MB / 1.154 GB Notification: Performance of sorting global known variables: time 8.956e-05/0.5472, allocations: 112.8 kB / 1.466 GB, free: 1.477 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5472, allocations: 0 / 1.466 GB, free: 1.477 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003594/0.5476, allocations: 43.94 kB / 1.466 GB, free: 1.434 MB / 1.154 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.0002073/0.5478, allocations: 123.1 kB / 1.466 GB, free: 1.309 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009517/0.5488, allocations: 298.5 kB / 1.467 GB, free: 1.004 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5488, allocations: 0 / 1.467 GB, free: 1.004 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005631/0.5493, allocations: 230.8 kB / 1.467 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.5497, allocations: 29.91 kB / 1.467 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009566/0.5506, allocations: 316.9 kB / 1.467 GB, free: 412 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.5507, allocations: 97.62 kB / 1.467 GB, free: 288 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.5509, allocations: 32.55 kB / 1.467 GB, free: 256 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.5509, allocations: 15.42 kB / 1.467 GB, free: 244 kB / 1.154 GB Notification: Performance of SimCode: time 4.51e-07/0.5509, allocations: 0 / 1.467 GB, free: 244 kB / 1.154 GB Notification: Performance of Templates: time 0.007884/0.5588, allocations: 3.306 MB / 1.471 GB, free: 12.97 MB / 1.17 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 -s cvode -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/jenkins1/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: 9.601437180011999]