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.001403/0.001403, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001695/0.001695, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.789 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.355/3.355, allocations: 0.4892 GB / 0.7943 GB, free: 35.8 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.002105/0.002105, allocations: 63.75 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003386/0.3207, allocations: 1.867 MB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1743/0.495, allocations: 136.7 MB / 1.46 GB, free: 7.266 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.4953, allocations: 4 kB / 1.46 GB, free: 7.262 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.4955, allocations: 23.73 kB / 1.46 GB, free: 7.238 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.496, allocations: 79.41 kB / 1.461 GB, free: 7.16 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4971, allocations: 270.1 kB / 1.461 GB, free: 6.898 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005402/0.4977, allocations: 267 kB / 1.461 GB, free: 6.637 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.4979, allocations: 46.53 kB / 1.461 GB, free: 6.59 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.4997, allocations: 263.9 kB / 1.461 GB, free: 6.355 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.5, allocations: 87.59 kB / 1.461 GB, free: 6.27 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.5001, allocations: 12 kB / 1.461 GB, free: 6.258 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.5006, allocations: 179.7 kB / 1.462 GB, free: 6.082 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.5007, allocations: 47.81 kB / 1.462 GB, free: 6.035 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.5009, allocations: 83.66 kB / 1.462 GB, free: 5.953 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.5016, allocations: 298.8 kB / 1.462 GB, free: 5.66 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5016, allocations: 0 / 1.462 GB, free: 5.66 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5016, allocations: 0 / 1.462 GB, free: 5.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.5016, allocations: 0 / 1.462 GB, free: 5.66 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001233/0.5029, allocations: 465.3 kB / 1.462 GB, free: 5.176 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.5029, allocations: 8.031 kB / 1.462 GB, free: 5.168 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.383e-05/0.503, allocations: 50.55 kB / 1.462 GB, free: 5.109 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.5042, allocations: 111.7 kB / 1.463 GB, free: 5 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.5046, allocations: 170.5 kB / 1.463 GB, free: 4.809 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.5048, allocations: 63.73 kB / 1.463 GB, free: 4.734 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.5048, allocations: 23.98 kB / 1.463 GB, free: 4.711 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.5055, allocations: 314 kB / 1.463 GB, free: 4.363 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.5056, allocations: 3.984 kB / 1.463 GB, free: 4.359 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.5056, allocations: 8 kB / 1.463 GB, free: 4.352 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.5056, allocations: 4 kB / 1.463 GB, free: 4.348 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.5061, allocations: 164.3 kB / 1.463 GB, free: 4.188 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.5082, allocations: 1.11 MB / 1.464 GB, free: 3.008 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.509, allocations: 198.6 kB / 1.465 GB, free: 2.805 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.5092, allocations: 68.75 kB / 1.465 GB, free: 2.734 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.5093, allocations: 4 kB / 1.465 GB, free: 2.73 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.5093, allocations: 38.56 kB / 1.465 GB, free: 2.684 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.5093, allocations: 0 / 1.465 GB, free: 2.684 MB / 1.154 GB Notification: Performance of matching and sorting (n=12): time 0.002692/0.512, allocations: 494.7 kB / 1.465 GB, free: 2.188 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.512, allocations: 63.28 kB / 1.465 GB, free: 2.113 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.5124, allocations: 222.9 kB / 1.465 GB, free: 1.883 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.5124, allocations: 25.7 kB / 1.465 GB, free: 1.852 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.5125, allocations: 140.2 kB / 1.466 GB, free: 1.711 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.5126, allocations: 47.58 kB / 1.466 GB, free: 1.664 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.5127, allocations: 45.69 kB / 1.466 GB, free: 1.613 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5128, allocations: 330.8 kB / 1.466 GB, free: 1.281 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.5131, allocations: 71.94 kB / 1.466 GB, free: 1.211 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.5134, allocations: 157.3 kB / 1.466 GB, free: 1.023 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.5138, allocations: 194.8 kB / 1.466 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5138, allocations: 0 / 1.466 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001475/0.5153, allocations: 381.8 kB / 1.467 GB, free: 436 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.5153, allocations: 8 kB / 1.467 GB, free: 428 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5153, allocations: 0 / 1.467 GB, free: 428 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.5164, allocations: 161.7 kB / 1.467 GB, free: 260 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.5166, allocations: 39.97 kB / 1.467 GB, free: 220 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/0.5208, allocations: 3.026 MB / 1.47 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.5212, allocations: 35.81 kB / 1.47 GB, free: 12.92 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.5212, allocations: 12 kB / 1.47 GB, free: 12.91 MB / 1.17 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.0001534/0.5214, allocations: 143.8 kB / 1.47 GB, free: 12.76 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.5214, allocations: 19.89 kB / 1.47 GB, free: 12.74 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.5228, allocations: 370.4 kB / 1.47 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.5228, allocations: 4 kB / 1.47 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.5228, allocations: 0 / 1.47 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5228, allocations: 7.922 kB / 1.47 GB, free: 12.35 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.5231, allocations: 220.6 kB / 1.471 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5231, allocations: 0 / 1.471 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.5233, allocations: 31.84 kB / 1.471 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008234/0.5241, allocations: 141.6 kB / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.5241, allocations: 4 kB / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004091/0.5282, allocations: 3.091 MB / 1.474 GB, free: 8.578 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5282, allocations: 0 / 1.474 GB, free: 8.578 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.5296, allocations: 424.9 kB / 1.474 GB, free: 8.141 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.5297, allocations: 39.7 kB / 1.474 GB, free: 8.102 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.5297, allocations: 8 kB / 1.474 GB, free: 8.094 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.53, allocations: 19.98 kB / 1.474 GB, free: 8.074 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.5301, allocations: 15.88 kB / 1.474 GB, free: 8.059 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.5301, allocations: 8 kB / 1.474 GB, free: 8.051 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002069/0.5303, allocations: 159.2 kB / 1.475 GB, free: 7.895 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5303, allocations: 0 / 1.475 GB, free: 7.895 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004597/0.5308, allocations: 67.94 kB / 1.475 GB, free: 7.828 MB / 1.17 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.001746/0.5325, allocations: 0.9852 MB / 1.476 GB, free: 6.809 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.5337, allocations: 433.7 kB / 1.476 GB, free: 6.359 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5337, allocations: 0 / 1.476 GB, free: 6.359 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007407/0.5344, allocations: 361.2 kB / 1.476 GB, free: 5.98 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.5349, allocations: 71.84 kB / 1.476 GB, free: 5.91 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.5403, allocations: 2.522 MB / 1.479 GB, free: 3.258 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.5404, allocations: 132.4 kB / 1.479 GB, free: 3.109 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001942/0.5406, allocations: 37.94 kB / 1.479 GB, free: 3.074 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.5407, allocations: 47.42 kB / 1.479 GB, free: 3.027 MB / 1.17 GB Notification: Performance of SimCode: time 5.51e-07/0.5407, allocations: 0 / 1.479 GB, free: 3.027 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04625/0.587, allocations: 8.025 MB / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.75, allocations: 9.75 kB / 1.487 GB, free: 11.22 MB / 1.186 GB " [Timeout remaining time 286] (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: 20.849785764236003]