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.001258/0.001258, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001471/0.001471, allocations: 218.5 kB / 23.04 MB, free: 5.074 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.8 MB, free: 8.004 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.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_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.00204/0.00204, allocations: 67.45 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3318, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00302/0.3348, allocations: 1.703 MB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.179/0.5138, allocations: 153.1 MB / 1.478 GB, free: 6.625 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.5139, allocations: 3.938 kB / 1.478 GB, free: 6.621 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.5141, allocations: 19.8 kB / 1.478 GB, free: 6.602 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.5144, allocations: 55.58 kB / 1.478 GB, free: 6.547 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.5149, allocations: 191.3 kB / 1.478 GB, free: 6.359 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.5151, allocations: 159.5 kB / 1.478 GB, free: 6.203 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.5152, allocations: 21.3 kB / 1.478 GB, free: 6.184 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.5166, allocations: 208.2 kB / 1.478 GB, free: 6.004 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.5167, allocations: 55.77 kB / 1.478 GB, free: 5.949 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.5167, allocations: 8 kB / 1.478 GB, free: 5.941 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.517, allocations: 183.7 kB / 1.479 GB, free: 5.762 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.5171, allocations: 23.91 kB / 1.479 GB, free: 5.738 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.5172, allocations: 59.72 kB / 1.479 GB, free: 5.68 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.5175, allocations: 211.2 kB / 1.479 GB, free: 5.473 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5175, allocations: 0 / 1.479 GB, free: 5.473 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5175, allocations: 0 / 1.479 GB, free: 5.473 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5175, allocations: 0 / 1.479 GB, free: 5.473 MB / 1.17 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.0008636/0.5184, allocations: 397.5 kB / 1.479 GB, free: 5.055 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 8.58e-05/0.5185, allocations: 8.031 kB / 1.479 GB, free: 5.047 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.374e-05/0.5185, allocations: 4.188 kB / 1.479 GB, free: 5.043 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.5185, allocations: 42.73 kB / 1.479 GB, free: 4.992 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008519/0.5194, allocations: 80.33 kB / 1.479 GB, free: 4.914 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.5197, allocations: 149 kB / 1.48 GB, free: 4.742 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5197, allocations: 8 kB / 1.48 GB, free: 4.734 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.5197, allocations: 4 kB / 1.48 GB, free: 4.73 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.5202, allocations: 194.9 kB / 1.48 GB, free: 4.52 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5202, allocations: 0 / 1.48 GB, free: 4.52 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.5202, allocations: 0 / 1.48 GB, free: 4.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5202, allocations: 4 kB / 1.48 GB, free: 4.516 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.5207, allocations: 147.8 kB / 1.48 GB, free: 4.371 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.5219, allocations: 0.7925 MB / 1.481 GB, free: 3.508 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.5224, allocations: 130.5 kB / 1.481 GB, free: 3.371 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.5226, allocations: 76.78 kB / 1.481 GB, free: 3.293 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.5226, allocations: 0 / 1.481 GB, free: 3.293 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.5227, allocations: 42.48 kB / 1.481 GB, free: 3.242 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.5227, allocations: 4 kB / 1.481 GB, free: 3.238 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.002002/0.5247, allocations: 374.1 kB / 1.481 GB, free: 2.863 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.5247, allocations: 67.22 kB / 1.481 GB, free: 2.785 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.5249, allocations: 156.3 kB / 1.481 GB, free: 2.625 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.5249, allocations: 25.7 kB / 1.482 GB, free: 2.594 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.525, allocations: 112.4 kB / 1.482 GB, free: 2.48 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.525, allocations: 35.73 kB / 1.482 GB, free: 2.445 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.5251, allocations: 29.7 kB / 1.482 GB, free: 2.41 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5252, allocations: 318.8 kB / 1.482 GB, free: 2.09 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.5255, allocations: 67.94 kB / 1.482 GB, free: 2.023 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.5258, allocations: 108.2 kB / 1.482 GB, free: 1.902 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.5263, allocations: 176.1 kB / 1.482 GB, free: 1.715 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5263, allocations: 0 / 1.482 GB, free: 1.715 MB / 1.17 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001094/0.5274, allocations: 282.1 kB / 1.483 GB, free: 1.43 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5274, allocations: 6.656 kB / 1.483 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5274, allocations: 4.125 kB / 1.483 GB, free: 1.422 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/0.5281, allocations: 84.75 kB / 1.483 GB, free: 1.336 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.5283, allocations: 35.91 kB / 1.483 GB, free: 1.301 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.5306, allocations: 1.565 MB / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.5308, allocations: 19.91 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.5308, allocations: 4 kB / 1.484 GB, free: 15.59 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.0001288/0.531, allocations: 130.3 kB / 1.484 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.531, allocations: 15.84 kB / 1.484 GB, free: 15.44 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.5321, allocations: 310.9 kB / 1.485 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.5321, allocations: 7.984 kB / 1.485 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.5321, allocations: 0 / 1.485 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5321, allocations: 4 kB / 1.485 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.5324, allocations: 208.6 kB / 1.485 GB, free: 14.87 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5324, allocations: 3.938 kB / 1.485 GB, free: 14.87 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.5326, allocations: 31.91 kB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.5331, allocations: 84.7 kB / 1.485 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.5331, allocations: 4 kB / 1.485 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.5352, allocations: 1.57 MB / 1.487 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5352, allocations: 4 kB / 1.487 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.5364, allocations: 386.3 kB / 1.487 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.5364, allocations: 23.92 kB / 1.487 GB, free: 12.63 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.5365, allocations: 11.94 kB / 1.487 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.5367, allocations: 15.97 kB / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.5367, allocations: 15.98 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.5368, allocations: 7.984 kB / 1.487 GB, free: 12.58 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.043e-05/0.5368, allocations: 104.7 kB / 1.487 GB, free: 12.48 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5368, allocations: 0 / 1.487 GB, free: 12.48 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003465/0.5372, allocations: 59.86 kB / 1.487 GB, free: 12.42 MB / 1.186 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.001499/0.5387, allocations: 0.9287 MB / 1.488 GB, free: 11.46 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009289/0.5396, allocations: 294.7 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5396, allocations: 0 / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.5402, allocations: 233.5 kB / 1.489 GB, free: 10.93 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.5405, allocations: 23.97 kB / 1.489 GB, free: 10.9 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.5448, allocations: 2.062 MB / 1.491 GB, free: 8.727 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.5451, allocations: 0.7124 MB / 1.491 GB, free: 7.988 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.5453, allocations: 24.91 kB / 1.491 GB, free: 7.965 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.5454, allocations: 39.41 kB / 1.491 GB, free: 7.93 MB / 1.186 GB Notification: Performance of SimCode: time 5.31e-07/0.5454, allocations: 0 / 1.491 GB, free: 7.93 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.5753, allocations: 4.927 MB / 1.496 GB, free: 3.18 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.78, allocations: 3.984 kB / 1.496 GB, free: 3.176 MB / 1.186 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.519405185012147]