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.001518/0.001518, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001926/0.001926, allocations: 220.1 kB / 23.05 MB, free: 4.844 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.734 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.176/3.176, 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.002088/0.002088, allocations: 69.19 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3482, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003099/0.3513, allocations: 1.66 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.5186, allocations: 131.5 MB / 1.457 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.5187, allocations: 0 / 1.457 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.5189, allocations: 23.8 kB / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.5192, allocations: 59.56 kB / 1.457 GB, free: 11.21 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.5196, allocations: 187.3 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.5199, allocations: 163.5 kB / 1.458 GB, free: 10.86 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.52, allocations: 21.3 kB / 1.458 GB, free: 10.84 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.5213, allocations: 207.1 kB / 1.458 GB, free: 10.66 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.5215, allocations: 59.75 kB / 1.458 GB, free: 10.61 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.5215, allocations: 8 kB / 1.458 GB, free: 10.6 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.5218, allocations: 163.7 kB / 1.458 GB, free: 10.44 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.5218, allocations: 31.89 kB / 1.458 GB, free: 10.41 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.5219, allocations: 39.8 kB / 1.458 GB, free: 10.37 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.5222, allocations: 207.2 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5223, allocations: 4 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of FrontEnd: time 4.589e-06/0.5223, allocations: 4 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5223, allocations: 0 / 1.458 GB, free: 10.16 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.0008583/0.5231, allocations: 397.5 kB / 1.459 GB, free: 9.738 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5232, allocations: 8.031 kB / 1.459 GB, free: 9.73 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/0.524, allocations: 76.77 kB / 1.459 GB, free: 9.656 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.5242, allocations: 159 kB / 1.459 GB, free: 9.477 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.5242, allocations: 4 kB / 1.459 GB, free: 9.473 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.5243, allocations: 11.98 kB / 1.459 GB, free: 9.461 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.5247, allocations: 190.9 kB / 1.459 GB, free: 9.254 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5247, allocations: 0 / 1.459 GB, free: 9.254 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.5248, allocations: 4 kB / 1.459 GB, free: 9.25 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5248, allocations: 4 kB / 1.459 GB, free: 9.246 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.5253, allocations: 147.8 kB / 1.459 GB, free: 9.102 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.5264, allocations: 0.6921 MB / 1.46 GB, free: 8.363 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.5268, allocations: 130.5 kB / 1.46 GB, free: 8.227 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.5271, allocations: 76.8 kB / 1.46 GB, free: 8.148 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.5271, allocations: 0 / 1.46 GB, free: 8.148 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.5271, allocations: 34.5 kB / 1.46 GB, free: 8.105 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.5271, allocations: 4 kB / 1.46 GB, free: 8.102 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.001934/0.5291, allocations: 378.3 kB / 1.461 GB, free: 7.723 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.5291, allocations: 55.39 kB / 1.461 GB, free: 7.656 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.5292, allocations: 155.1 kB / 1.461 GB, free: 7.496 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.5293, allocations: 29.7 kB / 1.461 GB, free: 7.461 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.5293, allocations: 111.9 kB / 1.461 GB, free: 7.348 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.5294, allocations: 27.75 kB / 1.461 GB, free: 7.32 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.5294, allocations: 37.69 kB / 1.461 GB, free: 7.277 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5296, allocations: 314.8 kB / 1.461 GB, free: 6.961 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.5298, allocations: 75.92 kB / 1.461 GB, free: 6.887 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.5301, allocations: 96.23 kB / 1.461 GB, free: 6.777 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.5307, allocations: 180.1 kB / 1.462 GB, free: 6.586 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5307, allocations: 7.938 kB / 1.462 GB, free: 6.578 MB / 1.154 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001102/0.5318, allocations: 274.5 kB / 1.462 GB, free: 6.301 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5318, allocations: 12.06 kB / 1.462 GB, free: 6.289 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.5318, allocations: 80 / 1.462 GB, free: 6.289 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/0.5324, allocations: 84.77 kB / 1.462 GB, free: 6.203 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.5326, allocations: 39.89 kB / 1.462 GB, free: 6.164 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.5348, allocations: 1.539 MB / 1.463 GB, free: 4.512 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.535, allocations: 20.02 kB / 1.464 GB, free: 4.492 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.5351, allocations: 7.984 kB / 1.464 GB, free: 4.484 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.0001153/0.5352, allocations: 132.4 kB / 1.464 GB, free: 4.348 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.5352, allocations: 7.953 kB / 1.464 GB, free: 4.34 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.5363, allocations: 312 kB / 1.464 GB, free: 4.031 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5363, allocations: 7.938 kB / 1.464 GB, free: 4.023 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.5363, allocations: 0 / 1.464 GB, free: 4.023 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5363, allocations: 4 kB / 1.464 GB, free: 4.02 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.5366, allocations: 153.3 kB / 1.464 GB, free: 3.84 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5366, allocations: 4 kB / 1.464 GB, free: 3.836 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.5368, allocations: 35.89 kB / 1.464 GB, free: 3.801 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/0.5372, allocations: 72.78 kB / 1.464 GB, free: 3.727 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.5372, allocations: 11.98 kB / 1.464 GB, free: 3.715 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.5392, allocations: 1.559 MB / 1.466 GB, free: 2.047 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5392, allocations: 0 / 1.466 GB, free: 2.047 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.5403, allocations: 375.7 kB / 1.466 GB, free: 1.664 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.5404, allocations: 27.88 kB / 1.466 GB, free: 1.637 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.5404, allocations: 4 kB / 1.466 GB, free: 1.633 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.5406, allocations: 19.97 kB / 1.466 GB, free: 1.613 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.5407, allocations: 11.98 kB / 1.466 GB, free: 1.602 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.5407, allocations: 11.92 kB / 1.466 GB, free: 1.59 MB / 1.154 GB Notification: Performance of sorting global known variables: time 8.512e-05/0.5408, allocations: 107.2 kB / 1.466 GB, free: 1.484 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5408, allocations: 0 / 1.466 GB, free: 1.484 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003365/0.5411, allocations: 47.94 kB / 1.466 GB, free: 1.438 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.0001921/0.5413, allocations: 115.1 kB / 1.466 GB, free: 1.316 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009494/0.5423, allocations: 302.5 kB / 1.467 GB, free: 1.008 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5423, allocations: 4.25 kB / 1.467 GB, free: 1.004 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.5428, allocations: 222.5 kB / 1.467 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.5431, allocations: 31.98 kB / 1.467 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/0.544, allocations: 343.3 kB / 1.467 GB, free: 384 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/0.5441, allocations: 97.61 kB / 1.467 GB, free: 260 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.5442, allocations: 19.42 kB / 1.467 GB, free: 244 kB / 1.154 GB Notification: Performance of SimCode: time 3e-07/0.5442, allocations: 0 / 1.467 GB, free: 244 kB / 1.154 GB Notification: Performance of Templates: time 0.00533/0.5495, allocations: 2.713 MB / 1.47 GB, free: 13.53 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 -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: 11.675850845873356]