Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007629/0.007629, allocations: 101.4 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 192.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 58.84 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2234, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002336/0.2258, allocations: 1.657 MB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1354/0.3612, allocations: 149.7 MB / 1.235 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3614, allocations: 0 / 1.235 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.3616, allocations: 23.8 kB / 1.235 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.3618, allocations: 59.56 kB / 1.235 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.3623, allocations: 179.3 kB / 1.236 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.3625, allocations: 171.5 kB / 1.236 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3626, allocations: 27.94 kB / 1.236 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.3636, allocations: 194 kB / 1.236 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3638, allocations: 63.75 kB / 1.236 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3638, allocations: 12 kB / 1.236 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.3641, allocations: 159.8 kB / 1.236 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.3641, allocations: 31.91 kB / 1.236 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.3642, allocations: 51.72 kB / 1.236 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.3645, allocations: 200.3 kB / 1.236 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3645, allocations: 0 / 1.236 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3645, allocations: 0 / 1.236 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3645, allocations: 3.938 kB / 1.236 GB, free: 8.93 MB / 0.9981 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.000753/0.3653, allocations: 467 kB / 1.237 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3653, allocations: 8.031 kB / 1.237 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.3654, allocations: 42.73 kB / 1.237 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005948/0.366, allocations: 68.44 kB / 1.237 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.3662, allocations: 198.8 kB / 1.237 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3662, allocations: 8 kB / 1.237 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.3662, allocations: 4 kB / 1.237 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.3666, allocations: 193.8 kB / 1.237 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3666, allocations: 3.938 kB / 1.237 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.3667, allocations: 4 kB / 1.237 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3667, allocations: 4 kB / 1.237 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.3671, allocations: 143.8 kB / 1.237 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.3681, allocations: 0.8205 MB / 1.238 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.3685, allocations: 130.5 kB / 1.238 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.3687, allocations: 84.73 kB / 1.238 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3688, allocations: 4 kB / 1.238 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.3688, allocations: 30.56 kB / 1.239 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3688, allocations: 0 / 1.239 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001796/0.3706, allocations: 467.3 kB / 1.239 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.3706, allocations: 55.34 kB / 1.239 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3708, allocations: 151.3 kB / 1.239 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3708, allocations: 25.7 kB / 1.239 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.3708, allocations: 104.3 kB / 1.239 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.3709, allocations: 31.55 kB / 1.239 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.3709, allocations: 29.7 kB / 1.239 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.371, allocations: 326.8 kB / 1.24 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.3713, allocations: 71.92 kB / 1.24 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.3715, allocations: 100.2 kB / 1.24 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.372, allocations: 188.4 kB / 1.24 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.372, allocations: 0 / 1.24 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009777/0.373, allocations: 278.1 kB / 1.24 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.373, allocations: 9.812 kB / 1.24 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.373, allocations: 7.938 kB / 1.24 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/0.3736, allocations: 84.89 kB / 1.24 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.3738, allocations: 31.95 kB / 1.24 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1372/0.511, allocations: 1.66 MB / 1.242 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.5114, allocations: 23.89 kB / 1.242 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.5114, allocations: 15.92 kB / 1.242 GB, free: 2.652 MB / 0.9981 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.0001427/0.5116, allocations: 119.6 kB / 1.242 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.5116, allocations: 7.906 kB / 1.242 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.5128, allocations: 317.7 kB / 1.242 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.5128, allocations: 4 kB / 1.242 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5128, allocations: 0 / 1.242 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5128, allocations: 3.938 kB / 1.242 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.5131, allocations: 233.5 kB / 1.243 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5131, allocations: 0 / 1.243 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.5133, allocations: 35.97 kB / 1.243 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004285/0.5137, allocations: 84.86 kB / 1.243 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5138, allocations: 11.94 kB / 1.243 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.5155, allocations: 1.674 MB / 1.244 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5155, allocations: 0 / 1.244 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.5164, allocations: 384 kB / 1.245 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.5165, allocations: 101 kB / 1.245 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.5166, allocations: 4.062 kB / 1.245 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.5168, allocations: 27.91 kB / 1.245 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.5168, allocations: 11.98 kB / 1.245 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.5168, allocations: 7.984 kB / 1.245 GB, free: 15.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.754e-05/0.5169, allocations: 117.1 kB / 1.245 GB, free: 15.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5169, allocations: 0 / 1.245 GB, free: 15.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003227/0.5173, allocations: 47.88 kB / 1.245 GB, free: 15.24 MB / 1.014 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.001313/0.5186, allocations: 0.9199 MB / 1.246 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008759/0.5195, allocations: 310.7 kB / 1.246 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5195, allocations: 0 / 1.246 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.52, allocations: 237.5 kB / 1.247 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.5203, allocations: 27.98 kB / 1.247 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.524, allocations: 2.05 MB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.5242, allocations: 0.7085 MB / 1.249 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.5244, allocations: 32.94 kB / 1.249 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.5244, allocations: 31.42 kB / 1.249 GB, free: 10.75 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.5244, allocations: 0 / 1.249 GB, free: 10.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.884/3.408, allocations: 4.734 MB / 1.254 GB, free: 6.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/21.47, allocations: 10.12 kB / 1.254 GB, free: 6.172 MB / 1.014 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches