Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 111.6 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 437.1 MB / 0.7171 GB, free: 4.18 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.91 kB / 1.027 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9175/0.9195, allocations: 151.6 MB / 1.175 GB, free: 17.47 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002724/0.9222, allocations: 1.678 MB / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1874/1.11, allocations: 149.7 MB / 1.322 GB, free: 1.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/1.11, allocations: 3.938 kB / 1.322 GB, free: 1.176 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001965/1.11, allocations: 27.73 kB / 1.323 GB, free: 1.148 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002984/1.11, allocations: 51.64 kB / 1.323 GB, free: 1.098 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/1.111, allocations: 187.3 kB / 1.323 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002602/1.111, allocations: 159.5 kB / 1.323 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/1.111, allocations: 33.11 kB / 1.323 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/1.113, allocations: 187.5 kB / 1.323 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/1.113, allocations: 59.75 kB / 1.323 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/1.113, allocations: 8 kB / 1.323 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/1.113, allocations: 163.8 kB / 1.323 GB, free: 344 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/1.113, allocations: 27.91 kB / 1.323 GB, free: 316 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/1.113, allocations: 55.72 kB / 1.323 GB, free: 260 kB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003718/1.114, allocations: 203.2 kB / 1.324 GB, free: 56 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.114, allocations: 4 kB / 1.324 GB, free: 52 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/1.114, allocations: 0 / 1.324 GB, free: 52 kB / 1.029 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.114, allocations: 0 / 1.324 GB, free: 52 kB / 1.029 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.0009289/1.115, allocations: 480.4 kB / 1.324 GB, free: 15.53 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.115, allocations: 8.625 kB / 1.324 GB, free: 15.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/1.115, allocations: 38.75 kB / 1.324 GB, free: 15.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000636/1.115, allocations: 60.58 kB / 1.324 GB, free: 15.42 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/1.116, allocations: 210.8 kB / 1.324 GB, free: 15.17 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/1.116, allocations: 8 kB / 1.324 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/1.116, allocations: 8 kB / 1.324 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/1.116, allocations: 181.8 kB / 1.325 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.116, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/1.116, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.116, allocations: 7.938 kB / 1.325 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/1.117, allocations: 147.7 kB / 1.325 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/1.118, allocations: 0.8129 MB / 1.326 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/1.119, allocations: 138.5 kB / 1.326 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/1.119, allocations: 76.8 kB / 1.326 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/1.119, allocations: 4 kB / 1.326 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.119, allocations: 38.55 kB / 1.326 GB, free: 13.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/1.119, allocations: 3.938 kB / 1.326 GB, free: 13.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.002013/1.121, allocations: 455.2 kB / 1.326 GB, free: 13.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.121, allocations: 55.34 kB / 1.326 GB, free: 13.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/1.121, allocations: 156.7 kB / 1.326 GB, free: 12.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/1.121, allocations: 29.7 kB / 1.326 GB, free: 12.9 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/1.121, allocations: 108.3 kB / 1.327 GB, free: 12.79 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/1.121, allocations: 35.88 kB / 1.327 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/1.121, allocations: 29.66 kB / 1.327 GB, free: 12.72 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.122, allocations: 322.8 kB / 1.327 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/1.122, allocations: 75.94 kB / 1.327 GB, free: 12.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/1.122, allocations: 104.2 kB / 1.327 GB, free: 12.2 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/1.123, allocations: 172.1 kB / 1.327 GB, free: 12.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.123, allocations: 4 kB / 1.327 GB, free: 12.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001097/1.124, allocations: 278.5 kB / 1.327 GB, free: 11.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.124, allocations: 7.938 kB / 1.328 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.124, allocations: 0 / 1.328 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/1.125, allocations: 92.88 kB / 1.328 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/1.125, allocations: 27.97 kB / 1.328 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/1.127, allocations: 1.667 MB / 1.329 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/1.127, allocations: 27.86 kB / 1.329 GB, free: 9.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/1.127, allocations: 12 kB / 1.329 GB, free: 9.754 MB / 1.045 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.0001201/1.128, allocations: 125.8 kB / 1.329 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/1.128, allocations: 7.953 kB / 1.329 GB, free: 9.613 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/1.129, allocations: 320.6 kB / 1.33 GB, free: 9.297 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.129, allocations: 4 kB / 1.33 GB, free: 9.293 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/1.129, allocations: 0 / 1.33 GB, free: 9.293 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.129, allocations: 3.984 kB / 1.33 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/1.129, allocations: 249.1 kB / 1.33 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.129, allocations: 0 / 1.33 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/1.129, allocations: 31.91 kB / 1.33 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/1.13, allocations: 76.78 kB / 1.33 GB, free: 8.891 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/1.13, allocations: 7.922 kB / 1.33 GB, free: 8.883 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/1.132, allocations: 1.67 MB / 1.332 GB, free: 7.066 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.132, allocations: 0 / 1.332 GB, free: 7.066 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/1.133, allocations: 384.1 kB / 1.332 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.133, allocations: 112.9 kB / 1.332 GB, free: 6.543 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/1.133, allocations: 144 / 1.332 GB, free: 6.543 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/1.133, allocations: 23.92 kB / 1.332 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/1.133, allocations: 15.95 kB / 1.332 GB, free: 6.504 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/1.134, allocations: 12.06 kB / 1.332 GB, free: 6.492 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.754e-05/1.134, allocations: 111.2 kB / 1.332 GB, free: 6.383 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.9e-07/1.134, allocations: 0 / 1.332 GB, free: 6.383 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003541/1.134, allocations: 43.94 kB / 1.332 GB, free: 6.34 MB / 1.045 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.001534/1.136, allocations: 0.9171 MB / 1.333 GB, free: 5.395 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009592/1.136, allocations: 318.4 kB / 1.334 GB, free: 5.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.137, allocations: 0 / 1.334 GB, free: 5.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005558/1.137, allocations: 227.7 kB / 1.334 GB, free: 4.836 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/1.137, allocations: 30.33 kB / 1.334 GB, free: 4.809 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/1.142, allocations: 2.075 MB / 1.336 GB, free: 2.629 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/1.142, allocations: 0.7046 MB / 1.337 GB, free: 1.898 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001397/1.142, allocations: 24.88 kB / 1.337 GB, free: 1.875 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.446e-05/1.142, allocations: 39.41 kB / 1.337 GB, free: 1.836 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/1.142, allocations: 0 / 1.337 GB, free: 1.836 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/1.174, allocations: 4.749 MB / 1.341 GB, free: 13.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.28, allocations: 9.641 kB / 1.341 GB, free: 13.24 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 19.14367624814622]