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.001714/0.001714, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002463/0.002463, allocations: 213.9 kB / 22.25 MB, free: 5.133 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.012 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.327/3.327, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.002073/0.002073, allocations: 72.55 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3568, allocations: 176.1 MB / 1.326 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003621/0.3604, allocations: 1.949 MB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1906/0.551, allocations: 158.9 MB / 1.483 GB, free: 0.582 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.5513, allocations: 3.938 kB / 1.483 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.5516, allocations: 31.72 kB / 1.483 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.552, allocations: 75.42 kB / 1.483 GB, free: 484 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.5531, allocations: 264 kB / 1.483 GB, free: 220 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.5534, allocations: 267.1 kB / 1.484 GB, free: 15.95 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.5536, allocations: 50.53 kB / 1.484 GB, free: 15.9 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.5553, allocations: 258.9 kB / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.5555, allocations: 95.59 kB / 1.484 GB, free: 15.58 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.5555, allocations: 16 kB / 1.484 GB, free: 15.57 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.556, allocations: 191.7 kB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.5561, allocations: 47.83 kB / 1.484 GB, free: 15.33 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.5562, allocations: 95.52 kB / 1.484 GB, free: 15.24 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.5567, allocations: 290.9 kB / 1.485 GB, free: 14.95 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5568, allocations: 0 / 1.485 GB, free: 14.95 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5568, allocations: 3.938 kB / 1.485 GB, free: 14.95 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.5568, allocations: 0 / 1.485 GB, free: 14.95 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001038/0.5578, allocations: 469.2 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5578, allocations: 11.97 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.5579, allocations: 50.55 kB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.5591, allocations: 115.7 kB / 1.485 GB, free: 14.28 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.5594, allocations: 170.3 kB / 1.485 GB, free: 14.09 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-05/0.5595, allocations: 67.72 kB / 1.485 GB, free: 14.01 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.5595, allocations: 23.98 kB / 1.485 GB, free: 13.98 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.5601, allocations: 258.6 kB / 1.486 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.5601, allocations: 4 kB / 1.486 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.5601, allocations: 8 kB / 1.486 GB, free: 13.69 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/0.5601, allocations: 4 kB / 1.486 GB, free: 13.69 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.5606, allocations: 164.3 kB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.5624, allocations: 1.152 MB / 1.487 GB, free: 12.3 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/0.5632, allocations: 194.7 kB / 1.487 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.5633, allocations: 64.81 kB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.5634, allocations: 4 kB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5634, allocations: 34.5 kB / 1.487 GB, free: 11.99 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.5634, allocations: 0 / 1.487 GB, free: 11.99 MB / 1.186 GB Notification: Performance of matching and sorting (n=12): time 0.002801/0.5662, allocations: 494.7 kB / 1.488 GB, free: 11.5 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.5663, allocations: 55.34 kB / 1.488 GB, free: 11.43 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.5665, allocations: 226.7 kB / 1.488 GB, free: 11.2 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.5666, allocations: 25.7 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.5667, allocations: 140.2 kB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.5667, allocations: 43.64 kB / 1.488 GB, free: 10.98 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.5668, allocations: 53.64 kB / 1.488 GB, free: 10.92 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.567, allocations: 326.8 kB / 1.489 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.5672, allocations: 71.94 kB / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.5674, allocations: 133.4 kB / 1.489 GB, free: 10.37 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.5679, allocations: 198.7 kB / 1.489 GB, free: 10.15 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5679, allocations: 0 / 1.489 GB, free: 10.15 MB / 1.186 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001658/0.5695, allocations: 374.8 kB / 1.489 GB, free: 9.77 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.5696, allocations: 4 kB / 1.489 GB, free: 9.766 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5696, allocations: 4 kB / 1.489 GB, free: 9.762 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.5707, allocations: 165.7 kB / 1.489 GB, free: 9.594 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.571, allocations: 35.97 kB / 1.489 GB, free: 9.559 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/0.5753, allocations: 3.055 MB / 1.492 GB, free: 6.273 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.5757, allocations: 39.77 kB / 1.493 GB, free: 6.234 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.5757, allocations: 4 kB / 1.493 GB, free: 6.23 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.0002242/0.5759, allocations: 145.7 kB / 1.493 GB, free: 6.078 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.576, allocations: 19.91 kB / 1.493 GB, free: 6.059 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.5773, allocations: 362.8 kB / 1.493 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.5774, allocations: 7.984 kB / 1.493 GB, free: 5.68 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.5774, allocations: 0 / 1.493 GB, free: 5.68 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.5774, allocations: 0 / 1.493 GB, free: 5.68 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.5777, allocations: 248.4 kB / 1.493 GB, free: 5.395 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5777, allocations: 3.938 kB / 1.493 GB, free: 5.391 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.5778, allocations: 23.97 kB / 1.493 GB, free: 5.367 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008591/0.5787, allocations: 149.5 kB / 1.493 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5787, allocations: 0 / 1.493 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004047/0.5828, allocations: 3.098 MB / 1.496 GB, free: 1.875 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.5828, allocations: 4.031 kB / 1.496 GB, free: 1.871 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.5842, allocations: 432.7 kB / 1.497 GB, free: 1.426 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.5843, allocations: 43.75 kB / 1.497 GB, free: 1.383 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.5843, allocations: 0 / 1.497 GB, free: 1.383 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.5846, allocations: 15.98 kB / 1.497 GB, free: 1.367 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.5847, allocations: 19.97 kB / 1.497 GB, free: 1.348 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5847, allocations: 11.98 kB / 1.497 GB, free: 1.336 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002048/0.5849, allocations: 159.2 kB / 1.497 GB, free: 1.18 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5849, allocations: 0 / 1.497 GB, free: 1.18 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004542/0.5854, allocations: 71.89 kB / 1.497 GB, free: 1.109 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.001718/0.5871, allocations: 0.9734 MB / 1.498 GB, free: 104 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.5882, allocations: 437.8 kB / 1.499 GB, free: 15.64 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5882, allocations: 0 / 1.499 GB, free: 15.64 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.5889, allocations: 365.1 kB / 1.499 GB, free: 15.26 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.5894, allocations: 68.41 kB / 1.499 GB, free: 15.2 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.5947, allocations: 2.525 MB / 1.501 GB, free: 12.54 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.5951, allocations: 0.74 MB / 1.502 GB, free: 11.78 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001905/0.5953, allocations: 37.94 kB / 1.502 GB, free: 11.74 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.5954, allocations: 55.41 kB / 1.502 GB, free: 11.69 MB / 1.201 GB Notification: Performance of SimCode: time 8.62e-07/0.5954, allocations: 0 / 1.502 GB, free: 11.69 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/0.6367, allocations: 7.534 MB / 1.51 GB, free: 4.344 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.3, allocations: 5.125 kB / 1.51 GB, free: 4.344 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: 20.523177445997135]