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.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.001843/0.001843, allocations: 106.4 kB / 16.45 MB, free: 6.445 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.002105/0.002105, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.511/1.511, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7611 GB, free: 15.86 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 75.88 kB / 1.104 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 168.7 MB / 1.269 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003406/1.116, allocations: 1.686 MB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2001/1.316, allocations: 150.1 MB / 1.417 GB, free: 7.434 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/1.316, allocations: 5.125 kB / 1.417 GB, free: 7.43 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/1.316, allocations: 25.83 kB / 1.417 GB, free: 7.406 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003836/1.317, allocations: 49.78 kB / 1.417 GB, free: 7.367 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/1.318, allocations: 184.3 kB / 1.417 GB, free: 7.227 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/1.318, allocations: 171.2 kB / 1.417 GB, free: 7.125 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/1.318, allocations: 25.39 kB / 1.417 GB, free: 7.109 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/1.32, allocations: 197.3 kB / 1.418 GB, free: 7.023 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/1.32, allocations: 57.42 kB / 1.418 GB, free: 6.988 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/1.32, allocations: 12.34 kB / 1.418 GB, free: 6.984 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/1.32, allocations: 164.8 kB / 1.418 GB, free: 6.906 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/1.32, allocations: 23.95 kB / 1.418 GB, free: 6.887 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 8.052e-05/1.32, allocations: 56.09 kB / 1.418 GB, free: 6.848 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/1.321, allocations: 207.6 kB / 1.418 GB, free: 6.719 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.321, allocations: 0 / 1.418 GB, free: 6.719 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.583e-06/1.321, allocations: 0 / 1.418 GB, free: 6.719 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.321, allocations: 0 / 1.418 GB, free: 6.719 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.001027/1.322, allocations: 482.5 kB / 1.419 GB, free: 6.262 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.322, allocations: 9.875 kB / 1.419 GB, free: 6.262 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.109e-05/1.322, allocations: 41.28 kB / 1.419 GB, free: 6.215 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006757/1.322, allocations: 56.05 kB / 1.419 GB, free: 6.191 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/1.323, allocations: 207 kB / 1.419 GB, free: 5.961 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.323, allocations: 3 kB / 1.419 GB, free: 5.961 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/1.323, allocations: 9.375 kB / 1.419 GB, free: 5.957 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/1.323, allocations: 178.7 kB / 1.419 GB, free: 5.816 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/1.323, allocations: 4 kB / 1.419 GB, free: 5.812 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/1.323, allocations: 9.078 kB / 1.419 GB, free: 5.805 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.323, allocations: 2.188 kB / 1.419 GB, free: 5.805 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/1.324, allocations: 149 kB / 1.419 GB, free: 5.73 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/1.325, allocations: 0.8251 MB / 1.42 GB, free: 4.914 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/1.326, allocations: 122.6 kB / 1.42 GB, free: 4.84 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/1.326, allocations: 81.08 kB / 1.42 GB, free: 4.793 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/1.326, allocations: 1.156 kB / 1.42 GB, free: 4.793 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/1.326, allocations: 39.72 kB / 1.42 GB, free: 4.746 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/1.326, allocations: 0 / 1.42 GB, free: 4.746 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.002008/1.328, allocations: 457.9 kB / 1.421 GB, free: 4.449 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.328, allocations: 60.59 kB / 1.421 GB, free: 4.379 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/1.328, allocations: 148.3 kB / 1.421 GB, free: 4.25 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/1.328, allocations: 26.55 kB / 1.421 GB, free: 4.219 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/1.328, allocations: 117.1 kB / 1.421 GB, free: 4.105 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/1.328, allocations: 27.31 kB / 1.421 GB, free: 4.082 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/1.328, allocations: 30.94 kB / 1.421 GB, free: 4.055 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.328, allocations: 321.1 kB / 1.421 GB, free: 3.734 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/1.329, allocations: 71.28 kB / 1.421 GB, free: 3.699 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/1.329, allocations: 108.5 kB / 1.422 GB, free: 3.617 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005505/1.329, allocations: 176 kB / 1.422 GB, free: 3.504 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.329, allocations: 5.281 kB / 1.422 GB, free: 3.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001088/1.331, allocations: 277.2 kB / 1.422 GB, free: 3.34 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.331, allocations: 9.75 kB / 1.422 GB, free: 3.336 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.331, allocations: 1.406 kB / 1.422 GB, free: 3.336 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/1.331, allocations: 85.27 kB / 1.422 GB, free: 3.293 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/1.331, allocations: 45.27 kB / 1.422 GB, free: 3.27 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/1.334, allocations: 1.651 MB / 1.424 GB, free: 1.668 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/1.334, allocations: 35.27 kB / 1.424 GB, free: 1.645 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/1.334, allocations: 7.531 kB / 1.424 GB, free: 1.641 MB / 1.107 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.0001244/1.334, allocations: 119.5 kB / 1.424 GB, free: 1.52 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/1.334, allocations: 12.84 kB / 1.424 GB, free: 1.512 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/1.336, allocations: 307.6 kB / 1.424 GB, free: 1.328 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/1.336, allocations: 1.531 kB / 1.424 GB, free: 1.328 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/1.336, allocations: 0 / 1.424 GB, free: 1.328 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.336, allocations: 1.344 kB / 1.424 GB, free: 1.328 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/1.336, allocations: 256.7 kB / 1.424 GB, free: 1.059 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.336, allocations: 1.281 kB / 1.424 GB, free: 1.059 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/1.336, allocations: 31.8 kB / 1.424 GB, free: 1.047 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/1.337, allocations: 74.16 kB / 1.425 GB, free: 1.008 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/1.337, allocations: 9.109 kB / 1.425 GB, free: 1 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/1.339, allocations: 1.683 MB / 1.426 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.339, allocations: 5.172 kB / 1.426 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/1.34, allocations: 374.6 kB / 1.427 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/1.34, allocations: 108 kB / 1.427 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/1.34, allocations: 5.031 kB / 1.427 GB, free: 14.99 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/1.34, allocations: 17.55 kB / 1.427 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/1.34, allocations: 17.47 kB / 1.427 GB, free: 14.97 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/1.34, allocations: 6.625 kB / 1.427 GB, free: 14.97 MB / 1.123 GB Notification: Performance of sorting global known variables: time 9.592e-05/1.34, allocations: 115.8 kB / 1.427 GB, free: 14.88 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.34, allocations: 1.094 kB / 1.427 GB, free: 14.88 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003536/1.341, allocations: 48.34 kB / 1.427 GB, free: 14.86 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.001496/1.342, allocations: 0.9258 MB / 1.428 GB, free: 14.06 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009112/1.343, allocations: 304.3 kB / 1.428 GB, free: 13.86 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.343, allocations: 5.312 kB / 1.428 GB, free: 13.85 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005479/1.344, allocations: 215.3 kB / 1.428 GB, free: 13.69 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/1.344, allocations: 22.61 kB / 1.428 GB, free: 13.68 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/1.348, allocations: 2.065 MB / 1.43 GB, free: 11.98 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/1.349, allocations: 0.7087 MB / 1.431 GB, free: 11.27 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001735/1.349, allocations: 26.97 kB / 1.431 GB, free: 11.25 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/1.349, allocations: 38.38 kB / 1.431 GB, free: 11.22 MB / 1.123 GB Notification: Performance of SimCode: time 6.32e-07/1.349, allocations: 4 kB / 1.431 GB, free: 11.21 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/1.383, allocations: 4.774 MB / 1.436 GB, free: 8.777 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.52, allocations: 5.312 kB / 1.436 GB, free: 8.773 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_2/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: 19.96826841402799]