Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001912/0.001912, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002427/0.002427, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.335/3.335, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_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.002318/0.002318, allocations: 70.22 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3759, allocations: 181.8 MB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003368/0.3793, allocations: 1.661 MB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.5586, allocations: 131.5 MB / 1.493 GB, free: 8.469 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.5588, allocations: 0 / 1.493 GB, free: 8.469 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.5589, allocations: 31.67 kB / 1.493 GB, free: 8.438 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.5593, allocations: 55.62 kB / 1.494 GB, free: 8.383 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.5599, allocations: 187.3 kB / 1.494 GB, free: 8.199 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.5601, allocations: 163.5 kB / 1.494 GB, free: 8.039 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.5603, allocations: 21.28 kB / 1.494 GB, free: 8.02 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.5618, allocations: 201.1 kB / 1.494 GB, free: 7.848 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.5619, allocations: 67.69 kB / 1.494 GB, free: 7.781 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.5619, allocations: 8 kB / 1.494 GB, free: 7.773 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.5623, allocations: 159.8 kB / 1.494 GB, free: 7.617 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.5623, allocations: 27.92 kB / 1.494 GB, free: 7.59 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.5624, allocations: 47.78 kB / 1.494 GB, free: 7.543 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.5628, allocations: 215.2 kB / 1.495 GB, free: 7.332 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5628, allocations: 0 / 1.495 GB, free: 7.332 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5628, allocations: 0 / 1.495 GB, free: 7.332 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5628, allocations: 4 kB / 1.495 GB, free: 7.328 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00094/0.5638, allocations: 402.9 kB / 1.495 GB, free: 6.906 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5638, allocations: 8.031 kB / 1.495 GB, free: 6.898 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.5639, allocations: 38.75 kB / 1.495 GB, free: 6.852 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009091/0.5648, allocations: 80.5 kB / 1.495 GB, free: 6.773 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.5651, allocations: 150 kB / 1.495 GB, free: 6.602 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.5651, allocations: 4 kB / 1.495 GB, free: 6.598 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.5651, allocations: 11.94 kB / 1.495 GB, free: 6.586 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.5656, allocations: 181.8 kB / 1.495 GB, free: 6.387 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.5656, allocations: 8 kB / 1.495 GB, free: 6.379 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.5657, allocations: 0 / 1.495 GB, free: 6.379 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.5657, allocations: 0 / 1.495 GB, free: 6.379 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.5662, allocations: 151.7 kB / 1.496 GB, free: 6.23 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.5676, allocations: 0.715 MB / 1.496 GB, free: 5.457 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.5681, allocations: 126.4 kB / 1.496 GB, free: 5.324 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.5683, allocations: 80.78 kB / 1.496 GB, free: 5.242 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.5684, allocations: 0 / 1.496 GB, free: 5.242 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5684, allocations: 38.56 kB / 1.496 GB, free: 5.195 MB / 1.186 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.5684, allocations: 0 / 1.496 GB, free: 5.195 MB / 1.186 GB Notification: Performance of matching and sorting (n=8): time 0.00207/0.5705, allocations: 386.2 kB / 1.497 GB, free: 4.809 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.5705, allocations: 59.34 kB / 1.497 GB, free: 4.738 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.5707, allocations: 156.4 kB / 1.497 GB, free: 4.578 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.5707, allocations: 29.7 kB / 1.497 GB, free: 4.543 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.5709, allocations: 108.2 kB / 1.497 GB, free: 4.434 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.5709, allocations: 27.75 kB / 1.497 GB, free: 4.406 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.61e-05/0.571, allocations: 29.69 kB / 1.497 GB, free: 4.371 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5711, allocations: 318.8 kB / 1.498 GB, free: 4.051 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.5714, allocations: 71.92 kB / 1.498 GB, free: 3.98 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.5717, allocations: 104.2 kB / 1.498 GB, free: 3.863 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.5723, allocations: 176.1 kB / 1.498 GB, free: 3.676 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.5723, allocations: 7.938 kB / 1.498 GB, free: 3.668 MB / 1.186 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001128/0.5734, allocations: 278.1 kB / 1.498 GB, free: 3.387 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5734, allocations: 7.938 kB / 1.498 GB, free: 3.379 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5734, allocations: 0 / 1.498 GB, free: 3.379 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.5741, allocations: 92.83 kB / 1.498 GB, free: 3.285 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.5743, allocations: 31.95 kB / 1.498 GB, free: 3.254 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.5768, allocations: 1.552 MB / 1.5 GB, free: 1.578 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.577, allocations: 20.06 kB / 1.5 GB, free: 1.559 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.577, allocations: 11.92 kB / 1.5 GB, free: 1.547 MB / 1.186 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.0001375/0.5772, allocations: 132.3 kB / 1.5 GB, free: 1.41 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.5772, allocations: 11.94 kB / 1.5 GB, free: 1.398 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.5783, allocations: 318.8 kB / 1.5 GB, free: 1.082 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5783, allocations: 4 kB / 1.5 GB, free: 1.078 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.5784, allocations: 0 / 1.5 GB, free: 1.078 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5784, allocations: 0 / 1.5 GB, free: 1.078 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.5786, allocations: 192.7 kB / 1.5 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5786, allocations: 4 kB / 1.5 GB, free: 0.8438 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.5789, allocations: 27.97 kB / 1.5 GB, free: 0.8164 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/0.5793, allocations: 76.77 kB / 1.501 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.5793, allocations: 11.94 kB / 1.501 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.5816, allocations: 1.574 MB / 1.502 GB, free: 15.03 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5816, allocations: 0 / 1.502 GB, free: 15.03 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.5828, allocations: 374.7 kB / 1.502 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5829, allocations: 31.88 kB / 1.503 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.5829, allocations: 0 / 1.503 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.5831, allocations: 27.91 kB / 1.503 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.5832, allocations: 7.984 kB / 1.503 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.5832, allocations: 11.98 kB / 1.503 GB, free: 14.57 MB / 1.201 GB Notification: Performance of sorting global known variables: time 9.741e-05/0.5833, allocations: 112.3 kB / 1.503 GB, free: 14.46 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5833, allocations: 4 kB / 1.503 GB, free: 14.46 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003763/0.5837, allocations: 47.92 kB / 1.503 GB, free: 14.41 MB / 1.201 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.001543/0.5852, allocations: 0.9239 MB / 1.504 GB, free: 13.46 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009741/0.5862, allocations: 306.4 kB / 1.504 GB, free: 13.14 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5862, allocations: 0 / 1.504 GB, free: 13.14 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006821/0.5869, allocations: 230.8 kB / 1.504 GB, free: 12.91 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.5873, allocations: 33.94 kB / 1.504 GB, free: 12.88 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.5917, allocations: 2.068 MB / 1.506 GB, free: 10.7 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.5918, allocations: 89.69 kB / 1.506 GB, free: 10.59 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.5919, allocations: 24.97 kB / 1.506 GB, free: 10.57 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.592, allocations: 39.41 kB / 1.506 GB, free: 10.53 MB / 1.201 GB Notification: Performance of SimCode: time 7.31e-07/0.592, allocations: 0 / 1.506 GB, free: 10.53 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05151/0.6435, allocations: 5.349 MB / 1.512 GB, free: 5.363 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.54, allocations: 5.781 kB / 1.512 GB, free: 5.359 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.550487802829593]