Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001805/0.001805, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001605/0.001605, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.879/2.879, allocations: 476.8 MB / 0.7707 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_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.002058/0.002058, allocations: 64.89 kB / 1.117 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3552, allocations: 170 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003877/0.359, allocations: 1.951 MB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2202/0.5792, allocations: 158.9 MB / 1.44 GB, free: 10.14 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.5795, allocations: 0 / 1.44 GB, free: 10.14 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.5798, allocations: 35.66 kB / 1.44 GB, free: 10.11 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.5802, allocations: 71.47 kB / 1.441 GB, free: 10.04 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.5815, allocations: 259.1 kB / 1.441 GB, free: 9.785 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004506/0.5819, allocations: 279 kB / 1.441 GB, free: 9.512 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.5821, allocations: 42.56 kB / 1.441 GB, free: 9.469 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.5837, allocations: 254.1 kB / 1.441 GB, free: 9.242 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.5838, allocations: 95.61 kB / 1.441 GB, free: 9.148 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.5839, allocations: 16 kB / 1.441 GB, free: 9.133 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004563/0.5843, allocations: 203.6 kB / 1.442 GB, free: 8.934 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.5844, allocations: 39.89 kB / 1.442 GB, free: 8.895 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.5845, allocations: 91.53 kB / 1.442 GB, free: 8.805 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.585, allocations: 302.8 kB / 1.442 GB, free: 8.508 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.585, allocations: 3.938 kB / 1.442 GB, free: 8.504 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.833e-06/0.585, allocations: 0 / 1.442 GB, free: 8.504 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.5851, allocations: 0 / 1.442 GB, free: 8.504 MB / 1.139 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.001074/0.5861, allocations: 469.2 kB / 1.442 GB, free: 8.016 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5862, allocations: 8.031 kB / 1.442 GB, free: 8.008 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/0.5862, allocations: 50.55 kB / 1.443 GB, free: 7.949 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.5875, allocations: 111.8 kB / 1.443 GB, free: 7.84 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.5878, allocations: 176.8 kB / 1.443 GB, free: 7.641 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.5879, allocations: 67.73 kB / 1.443 GB, free: 7.562 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.588, allocations: 16 kB / 1.443 GB, free: 7.547 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.5885, allocations: 262.5 kB / 1.443 GB, free: 7.262 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5885, allocations: 3.938 kB / 1.443 GB, free: 7.258 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.5886, allocations: 8 kB / 1.443 GB, free: 7.25 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.5886, allocations: 4 kB / 1.443 GB, free: 7.246 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.589, allocations: 167.8 kB / 1.443 GB, free: 7.082 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.5909, allocations: 1.148 MB / 1.444 GB, free: 5.863 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.5917, allocations: 198.6 kB / 1.445 GB, free: 5.66 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.5919, allocations: 64.81 kB / 1.445 GB, free: 5.594 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.592, allocations: 4 kB / 1.445 GB, free: 5.59 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.592, allocations: 34.56 kB / 1.445 GB, free: 5.547 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.592, allocations: 0 / 1.445 GB, free: 5.547 MB / 1.139 GB Notification: Performance of matching and sorting (n=12): time 0.002843/0.5949, allocations: 494.6 kB / 1.445 GB, free: 5.051 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.5949, allocations: 55.41 kB / 1.445 GB, free: 4.984 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.5952, allocations: 210.9 kB / 1.445 GB, free: 4.77 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.5952, allocations: 29.7 kB / 1.445 GB, free: 4.734 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.5953, allocations: 140.2 kB / 1.446 GB, free: 4.594 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.5954, allocations: 51.56 kB / 1.446 GB, free: 4.543 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/0.5955, allocations: 49.64 kB / 1.446 GB, free: 4.488 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5957, allocations: 326.8 kB / 1.446 GB, free: 4.16 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.5959, allocations: 67.94 kB / 1.446 GB, free: 4.094 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.5961, allocations: 138 kB / 1.446 GB, free: 3.934 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.5966, allocations: 210.2 kB / 1.446 GB, free: 3.707 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5966, allocations: 0 / 1.446 GB, free: 3.707 MB / 1.139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001512/0.5981, allocations: 370.8 kB / 1.447 GB, free: 3.332 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.5982, allocations: 8.219 kB / 1.447 GB, free: 3.324 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5982, allocations: 4 kB / 1.447 GB, free: 3.32 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.5993, allocations: 165.5 kB / 1.447 GB, free: 3.152 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.5995, allocations: 39.91 kB / 1.447 GB, free: 3.113 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.6041, allocations: 3.037 MB / 1.45 GB, free: 15.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.6045, allocations: 43.86 kB / 1.45 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.6045, allocations: 11.98 kB / 1.45 GB, free: 15.78 MB / 1.154 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.0001745/0.6047, allocations: 129.8 kB / 1.45 GB, free: 15.64 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.6047, allocations: 15.91 kB / 1.45 GB, free: 15.63 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.6061, allocations: 372.3 kB / 1.451 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.6062, allocations: 4 kB / 1.451 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.6062, allocations: 0 / 1.451 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6062, allocations: 0 / 1.451 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.6065, allocations: 252.4 kB / 1.451 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6065, allocations: 4 kB / 1.451 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.6067, allocations: 23.98 kB / 1.451 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008742/0.6075, allocations: 137.6 kB / 1.451 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.6076, allocations: 4 kB / 1.451 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/0.6117, allocations: 3.094 MB / 1.454 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6117, allocations: 240 / 1.454 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.6131, allocations: 430.5 kB / 1.454 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.6132, allocations: 43.73 kB / 1.454 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.6132, allocations: 8 kB / 1.454 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.6135, allocations: 11.98 kB / 1.454 GB, free: 10.95 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.6136, allocations: 23.95 kB / 1.454 GB, free: 10.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.6136, allocations: 4.125 kB / 1.454 GB, free: 10.93 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002149/0.6138, allocations: 163.1 kB / 1.455 GB, free: 10.77 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6138, allocations: 3.938 kB / 1.455 GB, free: 10.76 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004501/0.6143, allocations: 75.89 kB / 1.455 GB, free: 10.69 MB / 1.154 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.001805/0.6161, allocations: 0.9753 MB / 1.456 GB, free: 9.676 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.6173, allocations: 447.7 kB / 1.456 GB, free: 9.215 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6173, allocations: 0 / 1.456 GB, free: 9.215 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007282/0.618, allocations: 349.2 kB / 1.456 GB, free: 8.848 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.6185, allocations: 55.89 kB / 1.456 GB, free: 8.793 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006282/0.6247, allocations: 2.531 MB / 1.459 GB, free: 6.125 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/0.6256, allocations: 0.74 MB / 1.46 GB, free: 5.359 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.6259, allocations: 33.94 kB / 1.46 GB, free: 5.328 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.626, allocations: 59.41 kB / 1.46 GB, free: 5.27 MB / 1.154 GB Notification: Performance of SimCode: time 9.72e-07/0.626, allocations: 0 / 1.46 GB, free: 5.27 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04708/0.6731, allocations: 7.537 MB / 1.467 GB, free: 13.93 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.42, allocations: 6.516 kB / 1.467 GB, free: 13.93 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.329353483000887]