Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001402/0.001402, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001563/0.001563, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.503/1.503, 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.227/3.227, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_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.00204/0.00204, allocations: 70.48 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002789/0.3355, allocations: 1.657 MB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.4988, allocations: 131.5 MB / 1.456 GB, free: 11.81 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.4989, allocations: 0 / 1.456 GB, free: 11.81 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.4991, allocations: 27.73 kB / 1.456 GB, free: 11.78 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.4993, allocations: 55.64 kB / 1.456 GB, free: 11.73 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.4998, allocations: 187.3 kB / 1.456 GB, free: 11.54 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.5, allocations: 167.4 kB / 1.456 GB, free: 11.38 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.5001, allocations: 17.31 kB / 1.456 GB, free: 11.36 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.5015, allocations: 201.7 kB / 1.457 GB, free: 11.19 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.5017, allocations: 67.73 kB / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.5017, allocations: 12 kB / 1.457 GB, free: 11.11 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.502, allocations: 167.7 kB / 1.457 GB, free: 10.95 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.5021, allocations: 23.91 kB / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.5021, allocations: 47.78 kB / 1.457 GB, free: 10.88 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.5025, allocations: 207.2 kB / 1.457 GB, free: 10.68 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5025, allocations: 0 / 1.457 GB, free: 10.68 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5025, allocations: 0 / 1.457 GB, free: 10.68 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.5025, allocations: 0 / 1.457 GB, free: 10.68 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008091/0.5033, allocations: 405.4 kB / 1.457 GB, free: 10.25 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5033, allocations: 8.031 kB / 1.457 GB, free: 10.24 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.5034, allocations: 42.73 kB / 1.457 GB, free: 10.19 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/0.5042, allocations: 80.52 kB / 1.458 GB, free: 10.11 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.5044, allocations: 145 kB / 1.458 GB, free: 9.945 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5045, allocations: 8 kB / 1.458 GB, free: 9.938 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.5045, allocations: 4 kB / 1.458 GB, free: 9.934 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.505, allocations: 194.9 kB / 1.458 GB, free: 9.723 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.505, allocations: 4 kB / 1.458 GB, free: 9.719 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.505, allocations: 8 kB / 1.458 GB, free: 9.711 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.505, allocations: 0 / 1.458 GB, free: 9.711 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.5055, allocations: 147.7 kB / 1.458 GB, free: 9.566 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.5067, allocations: 0.7151 MB / 1.459 GB, free: 8.793 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.5071, allocations: 130.4 kB / 1.459 GB, free: 8.656 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.5074, allocations: 80.78 kB / 1.459 GB, free: 8.574 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.5074, allocations: 3.984 kB / 1.459 GB, free: 8.57 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.5074, allocations: 34.56 kB / 1.459 GB, free: 8.527 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.5074, allocations: 4 kB / 1.459 GB, free: 8.523 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.001876/0.5093, allocations: 386.2 kB / 1.459 GB, free: 8.137 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.5094, allocations: 55.34 kB / 1.459 GB, free: 8.07 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.5095, allocations: 157.3 kB / 1.46 GB, free: 7.91 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.5096, allocations: 29.69 kB / 1.46 GB, free: 7.875 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.5096, allocations: 100.3 kB / 1.46 GB, free: 7.773 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.5097, allocations: 31.73 kB / 1.46 GB, free: 7.742 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.5097, allocations: 29.7 kB / 1.46 GB, free: 7.707 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5099, allocations: 322.8 kB / 1.46 GB, free: 7.383 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.5101, allocations: 67.94 kB / 1.46 GB, free: 7.316 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.5104, allocations: 108.2 kB / 1.46 GB, free: 7.195 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.5109, allocations: 176.1 kB / 1.46 GB, free: 7.008 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5109, allocations: 3.984 kB / 1.46 GB, free: 7.004 MB / 1.154 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009947/0.5119, allocations: 278.1 kB / 1.461 GB, free: 6.723 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.5119, allocations: 16.06 kB / 1.461 GB, free: 6.707 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5119, allocations: 0 / 1.461 GB, free: 6.707 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.5125, allocations: 84.77 kB / 1.461 GB, free: 6.621 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.5128, allocations: 39.89 kB / 1.461 GB, free: 6.582 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.5152, allocations: 1.548 MB / 1.462 GB, free: 4.914 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.5154, allocations: 19.98 kB / 1.462 GB, free: 4.895 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.5155, allocations: 11.92 kB / 1.462 GB, free: 4.883 MB / 1.154 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.0001513/0.5156, allocations: 127.8 kB / 1.462 GB, free: 4.75 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.5157, allocations: 19.89 kB / 1.462 GB, free: 4.73 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.5167, allocations: 310.8 kB / 1.463 GB, free: 4.422 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5167, allocations: 4 kB / 1.463 GB, free: 4.418 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5167, allocations: 4 kB / 1.463 GB, free: 4.414 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5167, allocations: 0 / 1.463 GB, free: 4.414 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.517, allocations: 200.6 kB / 1.463 GB, free: 4.176 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.517, allocations: 0 / 1.463 GB, free: 4.176 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.5173, allocations: 27.97 kB / 1.463 GB, free: 4.148 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/0.5177, allocations: 80.75 kB / 1.463 GB, free: 4.066 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.5178, allocations: 7.938 kB / 1.463 GB, free: 4.059 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.5197, allocations: 1.562 MB / 1.465 GB, free: 2.375 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5197, allocations: 7.922 kB / 1.465 GB, free: 2.367 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.5208, allocations: 380.1 kB / 1.465 GB, free: 1.977 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.5209, allocations: 23.92 kB / 1.465 GB, free: 1.953 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.5209, allocations: 0 / 1.465 GB, free: 1.953 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.5211, allocations: 23.92 kB / 1.465 GB, free: 1.93 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.5212, allocations: 23.91 kB / 1.465 GB, free: 1.906 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.5212, allocations: 0 / 1.465 GB, free: 1.906 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001096/0.5213, allocations: 113.1 kB / 1.465 GB, free: 1.797 MB / 1.154 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5213, allocations: 0 / 1.465 GB, free: 1.797 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003647/0.5217, allocations: 51.83 kB / 1.465 GB, free: 1.746 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 (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.001438/0.5231, allocations: 0.9317 MB / 1.466 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009144/0.524, allocations: 302.2 kB / 1.466 GB, free: 492 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.524, allocations: 4 kB / 1.466 GB, free: 488 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.5246, allocations: 218.6 kB / 1.467 GB, free: 256 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.5249, allocations: 40.33 kB / 1.467 GB, free: 216 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.529, allocations: 2.062 MB / 1.469 GB, free: 14.04 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.5291, allocations: 89.69 kB / 1.469 GB, free: 13.93 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.5292, allocations: 28.97 kB / 1.469 GB, free: 13.9 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.5293, allocations: 35.42 kB / 1.469 GB, free: 13.87 MB / 1.17 GB Notification: Performance of SimCode: time 9.31e-07/0.5293, allocations: 0 / 1.469 GB, free: 13.87 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.5654, allocations: 5.398 MB / 1.474 GB, free: 8.641 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.47, allocations: 13.55 kB / 1.474 GB, free: 8.633 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_TDryBulXi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.305416210001567]