Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001833/0.001833, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002652/0.002652, allocations: 212 kB / 22.25 MB, free: 5.242 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.612/1.612, allocations: 230.6 MB / 256 MB, free: 7.773 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.32/3.32, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.002039/0.002039, allocations: 65.28 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3379, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002977/0.3409, allocations: 1.661 MB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.5049, allocations: 131.5 MB / 1.493 GB, free: 8.406 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.505, allocations: 3.938 kB / 1.493 GB, free: 8.402 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.5052, allocations: 31.73 kB / 1.493 GB, free: 8.371 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.5054, allocations: 51.64 kB / 1.494 GB, free: 8.32 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.506, allocations: 187.3 kB / 1.494 GB, free: 8.137 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.5062, allocations: 163.5 kB / 1.494 GB, free: 7.977 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.5064, allocations: 25.28 kB / 1.494 GB, free: 7.953 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.5079, allocations: 198.3 kB / 1.494 GB, free: 7.781 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.508, allocations: 63.73 kB / 1.494 GB, free: 7.719 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.508, allocations: 8 kB / 1.494 GB, free: 7.711 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.5084, allocations: 163.8 kB / 1.494 GB, free: 7.551 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.5084, allocations: 19.92 kB / 1.494 GB, free: 7.531 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.5085, allocations: 47.78 kB / 1.494 GB, free: 7.484 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.509, allocations: 219.2 kB / 1.495 GB, free: 7.27 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.509, allocations: 0 / 1.495 GB, free: 7.27 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.212e-06/0.509, allocations: 0 / 1.495 GB, free: 7.27 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.509, allocations: 0 / 1.495 GB, free: 7.27 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000884/0.5099, allocations: 397.5 kB / 1.495 GB, free: 6.852 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5099, allocations: 8.031 kB / 1.495 GB, free: 6.844 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.5099, allocations: 50.67 kB / 1.495 GB, free: 6.785 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/0.5108, allocations: 80.56 kB / 1.495 GB, free: 6.707 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.5111, allocations: 148.9 kB / 1.495 GB, free: 6.535 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.5111, allocations: 8 kB / 1.495 GB, free: 6.527 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.5111, allocations: 11.94 kB / 1.495 GB, free: 6.516 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.5116, allocations: 183.4 kB / 1.495 GB, free: 6.316 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.5116, allocations: 0 / 1.495 GB, free: 6.316 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.5116, allocations: 4 kB / 1.495 GB, free: 6.312 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5116, allocations: 4 kB / 1.495 GB, free: 6.309 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.5121, allocations: 151.7 kB / 1.496 GB, free: 6.16 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.5134, allocations: 0.715 MB / 1.496 GB, free: 5.387 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.5138, allocations: 126.5 kB / 1.496 GB, free: 5.254 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.5141, allocations: 76.78 kB / 1.496 GB, free: 5.176 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.5141, allocations: 4 kB / 1.496 GB, free: 5.172 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.5141, allocations: 30.56 kB / 1.496 GB, free: 5.133 MB / 1.186 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.5141, allocations: 0 / 1.496 GB, free: 5.133 MB / 1.186 GB Notification: Performance of matching and sorting (n=8): time 0.001933/0.5161, allocations: 394.2 kB / 1.497 GB, free: 4.738 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.5161, allocations: 55.34 kB / 1.497 GB, free: 4.672 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.5163, allocations: 156.4 kB / 1.497 GB, free: 4.512 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.5163, allocations: 25.7 kB / 1.497 GB, free: 4.48 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.5164, allocations: 108.2 kB / 1.497 GB, free: 4.371 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.5164, allocations: 27.75 kB / 1.497 GB, free: 4.344 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.5165, allocations: 33.7 kB / 1.497 GB, free: 4.305 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5166, allocations: 318.8 kB / 1.498 GB, free: 3.984 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.5169, allocations: 75.92 kB / 1.498 GB, free: 3.91 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.5171, allocations: 96.23 kB / 1.498 GB, free: 3.801 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.5177, allocations: 188 kB / 1.498 GB, free: 3.602 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5177, allocations: 3.938 kB / 1.498 GB, free: 3.598 MB / 1.186 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00109/0.5187, allocations: 278.1 kB / 1.498 GB, free: 3.316 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.5188, allocations: 7.938 kB / 1.498 GB, free: 3.309 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.5188, allocations: 8.125 kB / 1.498 GB, free: 3.301 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/0.5194, allocations: 76.77 kB / 1.498 GB, free: 3.223 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.5196, allocations: 39.95 kB / 1.498 GB, free: 3.184 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.5218, allocations: 1.552 MB / 1.5 GB, free: 1.508 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.522, allocations: 23.94 kB / 1.5 GB, free: 1.484 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.5221, allocations: 15.92 kB / 1.5 GB, free: 1.469 MB / 1.186 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.0001386/0.5222, allocations: 121.8 kB / 1.5 GB, free: 1.34 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.5222, allocations: 7.953 kB / 1.5 GB, free: 1.332 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.5234, allocations: 322.4 kB / 1.5 GB, free: 1.016 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5234, allocations: 4 kB / 1.5 GB, free: 1.012 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.5234, allocations: 4 kB / 1.5 GB, free: 1.008 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5234, allocations: 0 / 1.5 GB, free: 1.008 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.5237, allocations: 192.7 kB / 1.5 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5237, allocations: 0 / 1.5 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.5239, allocations: 27.97 kB / 1.5 GB, free: 0.75 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.5243, allocations: 80.77 kB / 1.501 GB, free: 0.668 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.5244, allocations: 3.938 kB / 1.501 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.5264, allocations: 1.574 MB / 1.502 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5264, allocations: 0 / 1.502 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.5275, allocations: 380.1 kB / 1.502 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.5276, allocations: 23.88 kB / 1.502 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.5276, allocations: 8 kB / 1.503 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.5278, allocations: 19.98 kB / 1.503 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.5279, allocations: 19.97 kB / 1.503 GB, free: 14.51 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.5279, allocations: 7.984 kB / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of sorting global known variables: time 8.878e-05/0.528, allocations: 111.7 kB / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.528, allocations: 0 / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003329/0.5283, allocations: 47.94 kB / 1.503 GB, free: 14.34 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 (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.00149/0.5298, allocations: 0.9293 MB / 1.504 GB, free: 13.39 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000941/0.5308, allocations: 298.5 kB / 1.504 GB, free: 13.08 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5308, allocations: 256 / 1.504 GB, free: 13.08 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.5313, allocations: 230.5 kB / 1.504 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.5316, allocations: 27.92 kB / 1.504 GB, free: 12.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.5357, allocations: 2.071 MB / 1.506 GB, free: 10.64 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.745e-05/0.5358, allocations: 93.69 kB / 1.506 GB, free: 10.53 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.5359, allocations: 20.97 kB / 1.506 GB, free: 10.51 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.536, allocations: 47.34 kB / 1.506 GB, free: 10.46 MB / 1.201 GB Notification: Performance of SimCode: time 3.2e-07/0.536, allocations: 0 / 1.506 GB, free: 10.46 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.5718, allocations: 5.345 MB / 1.512 GB, free: 5.301 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.71, allocations: 2.438 kB / 1.512 GB, free: 5.301 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.813312602229416]