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.001104/0.001104, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001281/0.001281, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.906/0.906, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.809/1.809, allocations: 377.8 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.9809 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.35e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001996/0.002009, allocations: 1.874 MB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.56/0.562, allocations: 136.7 MB / 1.116 GB, free: 19.34 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.5621, allocations: 6.312 kB / 1.116 GB, free: 19.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.5623, allocations: 34.84 kB / 1.116 GB, free: 19.31 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.5626, allocations: 72.12 kB / 1.116 GB, free: 19.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.5632, allocations: 272.8 kB / 1.117 GB, free: 19.12 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.5635, allocations: 275.5 kB / 1.117 GB, free: 18.99 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.5636, allocations: 46.09 kB / 1.117 GB, free: 18.97 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000913/0.5645, allocations: 294.7 kB / 1.117 GB, free: 18.88 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.5647, allocations: 77.84 kB / 1.117 GB, free: 18.86 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.5647, allocations: 14.62 kB / 1.117 GB, free: 18.86 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.565, allocations: 180.5 kB / 1.117 GB, free: 18.81 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.5651, allocations: 50.12 kB / 1.118 GB, free: 18.78 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.5651, allocations: 69.64 kB / 1.118 GB, free: 18.75 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.5655, allocations: 314.9 kB / 1.118 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5655, allocations: 0.7031 kB / 1.118 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5655, allocations: 1.188 kB / 1.118 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5655, allocations: 0 / 1.118 GB, free: 18.64 MB / 0.9948 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.0006277/0.5661, allocations: 473 kB / 1.118 GB, free: 18.27 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5662, allocations: 9.75 kB / 1.118 GB, free: 18.27 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.5662, allocations: 47.88 kB / 1.118 GB, free: 18.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.5668, allocations: 113.7 kB / 1.119 GB, free: 18.21 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.567, allocations: 170.2 kB / 1.119 GB, free: 18.05 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/0.5671, allocations: 68.42 kB / 1.119 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.5671, allocations: 23.73 kB / 1.119 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.5675, allocations: 313.1 kB / 1.119 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.5675, allocations: 1.672 kB / 1.119 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.5675, allocations: 6.469 kB / 1.119 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5675, allocations: 3.531 kB / 1.119 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.5678, allocations: 174.5 kB / 1.119 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008984/0.5687, allocations: 1.113 MB / 1.12 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.5691, allocations: 199.8 kB / 1.121 GB, free: 16.68 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.5692, allocations: 62.67 kB / 1.121 GB, free: 16.65 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5692, allocations: 5.719 kB / 1.121 GB, free: 16.65 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.5693, allocations: 33.52 kB / 1.121 GB, free: 16.61 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.5693, allocations: 4 kB / 1.121 GB, free: 16.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.001322/0.5706, allocations: 497.7 kB / 1.121 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.5706, allocations: 53.27 kB / 1.121 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.5708, allocations: 216.4 kB / 1.121 GB, free: 16.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.5708, allocations: 30.31 kB / 1.121 GB, free: 16.22 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.5708, allocations: 138.4 kB / 1.122 GB, free: 16.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.5708, allocations: 41.25 kB / 1.122 GB, free: 16.06 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.5709, allocations: 45.88 kB / 1.122 GB, free: 16.04 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.219e-05/0.5709, allocations: 335.4 kB / 1.122 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.5711, allocations: 67.16 kB / 1.122 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.5712, allocations: 159.6 kB / 1.122 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.5715, allocations: 201.4 kB / 1.122 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5715, allocations: 6.188 kB / 1.122 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007552/0.5722, allocations: 378.3 kB / 1.123 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.5722, allocations: 6.984 kB / 1.123 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5722, allocations: 2.25 kB / 1.123 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.5728, allocations: 162.1 kB / 1.123 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5729, allocations: 40.25 kB / 1.123 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.5748, allocations: 3.026 MB / 1.126 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.575, allocations: 38.69 kB / 1.126 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.575, allocations: 13.16 kB / 1.126 GB, free: 12.49 MB / 0.9948 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 7.381e-05/0.5751, allocations: 132.8 kB / 1.126 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.5751, allocations: 16.34 kB / 1.126 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.5758, allocations: 374 kB / 1.126 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5758, allocations: 2.062 kB / 1.126 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.5758, allocations: 1.219 kB / 1.126 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.5758, allocations: 1.312 kB / 1.126 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.576, allocations: 225 kB / 1.127 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.576, allocations: 1.906 kB / 1.127 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.576, allocations: 28.39 kB / 1.127 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003799/0.5764, allocations: 144.5 kB / 1.127 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.5764, allocations: 1.828 kB / 1.127 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.5781, allocations: 3.077 MB / 1.13 GB, free: 9.172 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5781, allocations: 0 / 1.13 GB, free: 9.172 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.5787, allocations: 433 kB / 1.13 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.5788, allocations: 36.83 kB / 1.13 GB, free: 8.922 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.5788, allocations: 1.656 kB / 1.13 GB, free: 8.922 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.5789, allocations: 20 kB / 1.13 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.579, allocations: 19.95 kB / 1.13 GB, free: 8.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.579, allocations: 5.016 kB / 1.13 GB, free: 8.91 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001059/0.5791, allocations: 156.5 kB / 1.13 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5791, allocations: 1.156 kB / 1.13 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003045/0.5794, allocations: 70.67 kB / 1.131 GB, free: 8.801 MB / 0.9948 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.0007992/0.5802, allocations: 0.9794 MB / 1.131 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005774/0.5808, allocations: 440.5 kB / 1.132 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.5808, allocations: 0 / 1.132 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.5811, allocations: 349.5 kB / 1.132 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.5814, allocations: 61.06 kB / 1.132 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.5842, allocations: 2.557 MB / 1.135 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.5843, allocations: 123.3 kB / 1.135 GB, free: 5.645 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.5844, allocations: 33.28 kB / 1.135 GB, free: 5.637 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.5845, allocations: 58.09 kB / 1.135 GB, free: 5.598 MB / 0.9948 GB Notification: Performance of SimCode: time 6.01e-07/0.5845, allocations: 0 / 1.135 GB, free: 5.598 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.609, allocations: 8.156 MB / 1.143 GB, free: 4.188 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.672, allocations: 4.5 kB / 1.143 GB, free: 4.188 MB / 0.9948 GB " [Timeout remaining time 291] (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/jenkins/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: 12.900747027248144]