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.006978/0.006978, allocations: 99.56 kB / 15.73 MB, free: 6.422 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.001648/0.001648, allocations: 195 kB / 16.67 MB, free: 6.34 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.449/2.449, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 62.88 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2735, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003698/0.2772, allocations: 1.672 MB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.4354, allocations: 149.7 MB / 1.235 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.4356, allocations: 0 / 1.235 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.4358, allocations: 19.8 kB / 1.235 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.4361, allocations: 59.64 kB / 1.235 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.4366, allocations: 179.3 kB / 1.236 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.4368, allocations: 163.5 kB / 1.236 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.4369, allocations: 35.91 kB / 1.236 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.4381, allocations: 188.2 kB / 1.236 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.4382, allocations: 63.73 kB / 1.236 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.4383, allocations: 12 kB / 1.236 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.4386, allocations: 159.7 kB / 1.236 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.4386, allocations: 35.89 kB / 1.236 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.4387, allocations: 51.73 kB / 1.236 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.4391, allocations: 204.3 kB / 1.236 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4391, allocations: 0 / 1.236 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4391, allocations: 0 / 1.236 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4391, allocations: 0 / 1.236 GB, free: 8.914 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.0008367/0.4399, allocations: 463 kB / 1.237 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.44, allocations: 11.97 kB / 1.237 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.44, allocations: 38.75 kB / 1.237 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006341/0.4407, allocations: 64.44 kB / 1.237 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.4409, allocations: 206.8 kB / 1.237 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.4409, allocations: 7.984 kB / 1.237 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.441, allocations: 8 kB / 1.237 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.4414, allocations: 193.7 kB / 1.237 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4415, allocations: 0 / 1.237 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.4415, allocations: 0 / 1.237 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4415, allocations: 4 kB / 1.237 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.442, allocations: 151.7 kB / 1.237 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.4432, allocations: 0.8243 MB / 1.238 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.4436, allocations: 134.4 kB / 1.238 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.4439, allocations: 80.8 kB / 1.239 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.4439, allocations: 7.984 kB / 1.239 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.444, allocations: 30.56 kB / 1.239 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.444, allocations: 0 / 1.239 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001988/0.446, allocations: 459.1 kB / 1.239 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.446, allocations: 55.5 kB / 1.239 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.4462, allocations: 153.1 kB / 1.239 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.4462, allocations: 29.7 kB / 1.239 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.4463, allocations: 112.2 kB / 1.239 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.4463, allocations: 31.55 kB / 1.239 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.4464, allocations: 25.7 kB / 1.239 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4465, allocations: 326.8 kB / 1.24 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.4468, allocations: 71.94 kB / 1.24 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.4471, allocations: 108.2 kB / 1.24 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.4476, allocations: 176.1 kB / 1.24 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4476, allocations: 0 / 1.24 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001087/0.4487, allocations: 274.1 kB / 1.24 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4488, allocations: 7.938 kB / 1.24 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4488, allocations: 4 kB / 1.24 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/0.4494, allocations: 88.88 kB / 1.24 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.4496, allocations: 31.91 kB / 1.24 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.4519, allocations: 1.662 MB / 1.242 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.4521, allocations: 31.89 kB / 1.242 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.4522, allocations: 7.938 kB / 1.242 GB, free: 2.633 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.0001158/0.4523, allocations: 121.8 kB / 1.242 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.4523, allocations: 11.91 kB / 1.242 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.4535, allocations: 321.2 kB / 1.242 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.4535, allocations: 0 / 1.242 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.4535, allocations: 3.984 kB / 1.243 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4535, allocations: 0 / 1.243 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.4538, allocations: 233.5 kB / 1.243 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4538, allocations: 4 kB / 1.243 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.454, allocations: 31.97 kB / 1.243 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.4545, allocations: 76.77 kB / 1.243 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.4545, allocations: 3.938 kB / 1.243 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.4565, allocations: 1.685 MB / 1.244 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4565, allocations: 0 / 1.244 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.4577, allocations: 391.9 kB / 1.245 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.4578, allocations: 100.9 kB / 1.245 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.4578, allocations: 4 kB / 1.245 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.458, allocations: 19.92 kB / 1.245 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.4581, allocations: 15.91 kB / 1.245 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.4581, allocations: 8 kB / 1.245 GB, free: 15.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.731e-05/0.4582, allocations: 116.7 kB / 1.245 GB, free: 15.26 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4582, allocations: 0 / 1.245 GB, free: 15.26 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000334/0.4586, allocations: 43.94 kB / 1.245 GB, free: 15.22 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.001397/0.46, allocations: 0.9238 MB / 1.246 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009453/0.4609, allocations: 310 kB / 1.246 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4609, allocations: 0 / 1.246 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.4615, allocations: 226.5 kB / 1.247 GB, free: 13.72 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.4618, allocations: 32.05 kB / 1.247 GB, free: 13.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.4658, allocations: 2.05 MB / 1.249 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4661, allocations: 0.7085 MB / 1.249 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.4663, allocations: 28.83 kB / 1.249 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/0.4664, allocations: 35.41 kB / 1.249 GB, free: 10.73 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.4664, allocations: 0 / 1.249 GB, free: 10.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.4936, allocations: 4.844 MB / 1.254 GB, free: 6.051 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.26, allocations: 0 / 1.254 GB, free: 6.051 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