Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001342/0.001342, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001451/0.001451, allocations: 220.1 kB / 23.03 MB, free: 4.918 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.792/2.792, allocations: 476.8 MB / 0.7715 GB, free: 3.898 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_TDryBulXi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",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.002027/0.002027, allocations: 63.45 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3712, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003829/0.3751, allocations: 1.653 MB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1829/0.5579, allocations: 131.4 MB / 1.414 GB, free: 5.066 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.5581, allocations: 4 kB / 1.414 GB, free: 5.062 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.5582, allocations: 23.73 kB / 1.414 GB, free: 5.039 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.5586, allocations: 59.62 kB / 1.414 GB, free: 4.98 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.5591, allocations: 187.3 kB / 1.414 GB, free: 4.797 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.5594, allocations: 159.5 kB / 1.414 GB, free: 4.641 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.5596, allocations: 32.78 kB / 1.414 GB, free: 4.613 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.5611, allocations: 207.3 kB / 1.415 GB, free: 4.434 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.5612, allocations: 67.75 kB / 1.415 GB, free: 4.367 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.5612, allocations: 8 kB / 1.415 GB, free: 4.359 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.5616, allocations: 171.7 kB / 1.415 GB, free: 4.191 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.5616, allocations: 23.92 kB / 1.415 GB, free: 4.168 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.5617, allocations: 43.78 kB / 1.415 GB, free: 4.125 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.5621, allocations: 211.2 kB / 1.415 GB, free: 3.918 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5621, allocations: 0 / 1.415 GB, free: 3.918 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5621, allocations: 0 / 1.415 GB, free: 3.918 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.5621, allocations: 0 / 1.415 GB, free: 3.918 MB / 1.107 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.0009786/0.5631, allocations: 397.5 kB / 1.416 GB, free: 3.5 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5631, allocations: 16.02 kB / 1.416 GB, free: 3.484 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.475e-05/0.5632, allocations: 4.125 kB / 1.416 GB, free: 3.48 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.5632, allocations: 38.75 kB / 1.416 GB, free: 3.434 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009243/0.5641, allocations: 84.27 kB / 1.416 GB, free: 3.352 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.5644, allocations: 143 kB / 1.416 GB, free: 3.188 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5644, allocations: 4 kB / 1.416 GB, free: 3.184 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.5644, allocations: 8 kB / 1.416 GB, free: 3.176 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.5649, allocations: 193.7 kB / 1.416 GB, free: 2.965 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5649, allocations: 0 / 1.416 GB, free: 2.965 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.5649, allocations: 0 / 1.416 GB, free: 2.965 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5649, allocations: 7.938 kB / 1.416 GB, free: 2.957 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.5655, allocations: 151.7 kB / 1.416 GB, free: 2.809 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.5667, allocations: 0.7147 MB / 1.417 GB, free: 2.035 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.5671, allocations: 130.4 kB / 1.417 GB, free: 1.898 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.5674, allocations: 72.8 kB / 1.417 GB, free: 1.824 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.5674, allocations: 4 kB / 1.417 GB, free: 1.82 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.5674, allocations: 34.56 kB / 1.417 GB, free: 1.777 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.5674, allocations: 4 kB / 1.417 GB, free: 1.773 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.001947/0.5694, allocations: 382.2 kB / 1.417 GB, free: 1.391 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.5694, allocations: 55.34 kB / 1.418 GB, free: 1.324 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.5696, allocations: 158.3 kB / 1.418 GB, free: 1.156 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.5696, allocations: 29.7 kB / 1.418 GB, free: 1.121 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.5697, allocations: 104.3 kB / 1.418 GB, free: 1.016 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.5697, allocations: 27.75 kB / 1.418 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.5698, allocations: 33.69 kB / 1.418 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5699, allocations: 314.8 kB / 1.418 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.5702, allocations: 75.92 kB / 1.418 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.5705, allocations: 100.2 kB / 1.418 GB, free: 456 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/0.5711, allocations: 176.1 kB / 1.419 GB, free: 264 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5711, allocations: 4 kB / 1.419 GB, free: 260 kB / 1.107 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001092/0.5722, allocations: 282.1 kB / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5722, allocations: 8.125 kB / 1.419 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5722, allocations: 4 kB / 1.419 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006708/0.5729, allocations: 84.7 kB / 1.419 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.5731, allocations: 39.89 kB / 1.419 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.5757, allocations: 1.557 MB / 1.42 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.5759, allocations: 23.81 kB / 1.42 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.5759, allocations: 7.984 kB / 1.42 GB, free: 14.13 MB / 1.123 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.0001752/0.5761, allocations: 129.8 kB / 1.421 GB, free: 13.99 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.5762, allocations: 11.91 kB / 1.421 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.5774, allocations: 316.5 kB / 1.421 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5774, allocations: 8 kB / 1.421 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.5774, allocations: 0 / 1.421 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5774, allocations: 0 / 1.421 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.5778, allocations: 196.6 kB / 1.421 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5778, allocations: 0 / 1.421 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.578, allocations: 27.97 kB / 1.421 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.5785, allocations: 84.7 kB / 1.421 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.5785, allocations: 4 kB / 1.421 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.5806, allocations: 1.57 MB / 1.423 GB, free: 11.61 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.5806, allocations: 7.938 kB / 1.423 GB, free: 11.6 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.5818, allocations: 376.1 kB / 1.423 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.5819, allocations: 27.92 kB / 1.423 GB, free: 11.19 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.5819, allocations: 7.938 kB / 1.423 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.5822, allocations: 23.97 kB / 1.423 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.349e-05/0.5823, allocations: 11.92 kB / 1.423 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.5823, allocations: 11.98 kB / 1.423 GB, free: 11.13 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001151/0.5824, allocations: 109.3 kB / 1.423 GB, free: 11.03 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5824, allocations: 0 / 1.423 GB, free: 11.03 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004407/0.5828, allocations: 47.92 kB / 1.423 GB, free: 10.98 MB / 1.123 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.001668/0.5845, allocations: 0.9228 MB / 1.424 GB, free: 10.03 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.5855, allocations: 299.1 kB / 1.425 GB, free: 9.727 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5855, allocations: 4 kB / 1.425 GB, free: 9.723 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.5861, allocations: 226.5 kB / 1.425 GB, free: 9.488 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.5865, allocations: 36.06 kB / 1.425 GB, free: 9.453 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.591, allocations: 2.077 MB / 1.427 GB, free: 7.273 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.5911, allocations: 89.69 kB / 1.427 GB, free: 7.168 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.5913, allocations: 29.06 kB / 1.427 GB, free: 7.137 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.5914, allocations: 39.39 kB / 1.427 GB, free: 7.098 MB / 1.123 GB Notification: Performance of SimCode: time 9.31e-07/0.5914, allocations: 0 / 1.427 GB, free: 7.098 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.6237, allocations: 5.022 MB / 1.432 GB, free: 2.277 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.75, allocations: 8.562 kB / 1.432 GB, free: 2.273 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.539941448019817]