Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001802/0.001802, allocations: 103 kB / 16.45 MB, free: 6.449 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.002217/0.002217, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.512/1.512, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.289/3.289, allocations: 0.49 GB / 0.7916 GB, free: 33.48 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [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.002/0.002, allocations: 64.56 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3201, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004152/0.3243, allocations: 1.937 MB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1885/0.5128, allocations: 158.8 MB / 1.478 GB, free: 2.043 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.513, allocations: 4 kB / 1.478 GB, free: 2.039 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.5132, allocations: 27.67 kB / 1.478 GB, free: 2.012 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.5135, allocations: 75.41 kB / 1.478 GB, free: 1.938 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.5144, allocations: 267.1 kB / 1.478 GB, free: 1.676 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.5147, allocations: 271.1 kB / 1.478 GB, free: 1.41 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.5149, allocations: 46.42 kB / 1.478 GB, free: 1.363 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.5165, allocations: 245.9 kB / 1.479 GB, free: 1.145 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.5167, allocations: 91.59 kB / 1.479 GB, free: 1.055 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.5167, allocations: 16 kB / 1.479 GB, free: 1.039 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.5171, allocations: 195.7 kB / 1.479 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.5172, allocations: 43.83 kB / 1.479 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.5173, allocations: 91.53 kB / 1.479 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.5178, allocations: 302.8 kB / 1.479 GB, free: 428 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5179, allocations: 0 / 1.479 GB, free: 428 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5179, allocations: 0 / 1.479 GB, free: 428 kB / 1.17 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.5179, allocations: 0 / 1.479 GB, free: 428 kB / 1.17 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.001075/0.5189, allocations: 0.5336 MB / 1.48 GB, free: 15.84 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.519, allocations: 11.98 kB / 1.48 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.442e-05/0.519, allocations: 50.55 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.5203, allocations: 115.7 kB / 1.48 GB, free: 15.65 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.5206, allocations: 232.7 kB / 1.48 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.944e-05/0.5207, allocations: 42.03 kB / 1.48 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.5207, allocations: 19.94 kB / 1.48 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.5213, allocations: 262.6 kB / 1.481 GB, free: 15.04 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5213, allocations: 3.938 kB / 1.481 GB, free: 15.03 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.5214, allocations: 12 kB / 1.481 GB, free: 15.02 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.5214, allocations: 4 kB / 1.481 GB, free: 15.02 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.5219, allocations: 163.8 kB / 1.481 GB, free: 14.86 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.5237, allocations: 1.177 MB / 1.482 GB, free: 13.6 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/0.5245, allocations: 206.6 kB / 1.482 GB, free: 13.39 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.5247, allocations: 64.81 kB / 1.482 GB, free: 13.32 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.5248, allocations: 0 / 1.482 GB, free: 13.32 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.5248, allocations: 42.56 kB / 1.482 GB, free: 13.27 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.5248, allocations: 0 / 1.482 GB, free: 13.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=12): time 0.00292/0.5277, allocations: 0.6259 MB / 1.483 GB, free: 12.6 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.5278, allocations: 63.34 kB / 1.483 GB, free: 12.52 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.5281, allocations: 214.8 kB / 1.483 GB, free: 12.3 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.5281, allocations: 25.7 kB / 1.483 GB, free: 12.27 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.5282, allocations: 140.2 kB / 1.483 GB, free: 12.13 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.5283, allocations: 43.64 kB / 1.483 GB, free: 12.09 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.5284, allocations: 53.58 kB / 1.483 GB, free: 12.03 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5285, allocations: 338.8 kB / 1.484 GB, free: 11.69 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.5288, allocations: 63.95 kB / 1.484 GB, free: 11.63 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.5291, allocations: 131.7 kB / 1.484 GB, free: 11.47 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.5295, allocations: 201.1 kB / 1.484 GB, free: 11.25 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5295, allocations: 0 / 1.484 GB, free: 11.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001681/0.5312, allocations: 378.8 kB / 1.484 GB, free: 10.87 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.5312, allocations: 8 kB / 1.484 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5312, allocations: 0 / 1.484 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.5324, allocations: 165.8 kB / 1.485 GB, free: 10.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.5327, allocations: 39.91 kB / 1.485 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/0.5372, allocations: 3.251 MB / 1.488 GB, free: 7.121 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.5376, allocations: 43.77 kB / 1.488 GB, free: 7.078 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.5376, allocations: 7.984 kB / 1.488 GB, free: 7.07 MB / 1.186 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.0001622/0.5378, allocations: 132.7 kB / 1.488 GB, free: 6.934 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.5378, allocations: 27.86 kB / 1.488 GB, free: 6.906 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.5393, allocations: 370.2 kB / 1.488 GB, free: 6.523 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.5393, allocations: 4 kB / 1.488 GB, free: 6.52 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.5393, allocations: 0 / 1.488 GB, free: 6.52 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5393, allocations: 0 / 1.488 GB, free: 6.52 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.5396, allocations: 285.2 kB / 1.489 GB, free: 6.191 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5396, allocations: 0 / 1.489 GB, free: 6.191 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.5398, allocations: 23.92 kB / 1.489 GB, free: 6.168 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008997/0.5407, allocations: 145.6 kB / 1.489 GB, free: 6.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.5407, allocations: 4.125 kB / 1.489 GB, free: 6.016 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/0.545, allocations: 3.305 MB / 1.492 GB, free: 2.426 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.545, allocations: 0 / 1.492 GB, free: 2.426 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.5464, allocations: 428.9 kB / 1.492 GB, free: 1.984 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.5466, allocations: 112.9 kB / 1.492 GB, free: 1.855 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.5466, allocations: 4 kB / 1.492 GB, free: 1.852 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.5469, allocations: 15.98 kB / 1.493 GB, free: 1.836 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.547, allocations: 19.91 kB / 1.493 GB, free: 1.816 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.547, allocations: 12 kB / 1.493 GB, free: 1.805 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002183/0.5472, allocations: 159.2 kB / 1.493 GB, free: 1.648 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5472, allocations: 0 / 1.493 GB, free: 1.648 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005436/0.5478, allocations: 71.94 kB / 1.493 GB, free: 1.578 MB / 1.186 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.001793/0.5496, allocations: 0.9732 MB / 1.494 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.5508, allocations: 437.7 kB / 1.494 GB, free: 120 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.5508, allocations: 0 / 1.494 GB, free: 120 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008203/0.5516, allocations: 354.9 kB / 1.494 GB, free: 15.75 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.5522, allocations: 67.78 kB / 1.495 GB, free: 15.68 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.558, allocations: 2.532 MB / 1.497 GB, free: 13.01 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.5584, allocations: 0.74 MB / 1.498 GB, free: 12.25 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002068/0.5586, allocations: 37.88 kB / 1.498 GB, free: 12.21 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5587, allocations: 55.41 kB / 1.498 GB, free: 12.16 MB / 1.201 GB Notification: Performance of SimCode: time 1.002e-06/0.5587, allocations: 0 / 1.498 GB, free: 12.16 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03844/0.5972, allocations: 7.312 MB / 1.505 GB, free: 5.043 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.97, allocations: 15.86 kB / 1.505 GB, free: 5.035 MB / 1.201 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.78468330297619]