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.007534/0.007534, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001786/0.001787, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.366/2.366, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.44 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2308, 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.0025/0.2333, allocations: 1.668 MB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.3909, allocations: 149.7 MB / 1.235 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3911, allocations: 7.938 kB / 1.235 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.3913, allocations: 27.8 kB / 1.235 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.3916, allocations: 51.64 kB / 1.235 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.3921, allocations: 179.3 kB / 1.236 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.3923, allocations: 171.4 kB / 1.236 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3924, allocations: 35.92 kB / 1.236 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.3936, allocations: 190.6 kB / 1.236 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3938, allocations: 59.75 kB / 1.236 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.3938, allocations: 12 kB / 1.236 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.3942, allocations: 171.7 kB / 1.236 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.3942, allocations: 27.91 kB / 1.236 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.3943, allocations: 51.72 kB / 1.236 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.3947, allocations: 204.3 kB / 1.236 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3947, allocations: 0 / 1.236 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3947, allocations: 0 / 1.236 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3947, 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.0008951/0.3956, allocations: 463 kB / 1.237 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3957, allocations: 8.031 kB / 1.237 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.3957, allocations: 46.67 kB / 1.237 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006183/0.3964, allocations: 64.44 kB / 1.237 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3966, allocations: 198.8 kB / 1.237 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3966, allocations: 8 kB / 1.237 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.3966, allocations: 4 kB / 1.237 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.3971, allocations: 193.7 kB / 1.237 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3971, allocations: 0 / 1.237 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.3971, allocations: 7.984 kB / 1.237 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3971, allocations: 4 kB / 1.237 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.3977, allocations: 143.8 kB / 1.237 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.3988, allocations: 0.8243 MB / 1.238 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.3993, allocations: 130.5 kB / 1.238 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.3995, allocations: 80.78 kB / 1.238 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3996, allocations: 7.938 kB / 1.238 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.3996, allocations: 30.56 kB / 1.239 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3996, allocations: 0 / 1.239 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001972/0.4016, allocations: 463.3 kB / 1.239 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.4016, allocations: 59.28 kB / 1.239 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.4018, allocations: 151.9 kB / 1.239 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.4018, allocations: 25.7 kB / 1.239 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.4019, allocations: 104.3 kB / 1.239 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.4019, allocations: 31.55 kB / 1.239 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.402, allocations: 29.7 kB / 1.239 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4021, allocations: 330.8 kB / 1.24 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.4024, allocations: 71.92 kB / 1.24 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.4027, allocations: 100.2 kB / 1.24 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/0.4032, allocations: 180.1 kB / 1.24 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4032, allocations: 0 / 1.24 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001071/0.4043, allocations: 282.4 kB / 1.24 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4044, allocations: 7.938 kB / 1.24 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4044, allocations: 4 kB / 1.24 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/0.405, allocations: 84.88 kB / 1.24 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.4052, allocations: 39.89 kB / 1.24 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.4073, allocations: 1.658 MB / 1.242 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.4076, allocations: 19.83 kB / 1.242 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.4076, allocations: 11.92 kB / 1.242 GB, free: 2.645 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.0001193/0.4077, allocations: 129.7 kB / 1.242 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.4078, allocations: 7.906 kB / 1.242 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.4089, allocations: 313.4 kB / 1.242 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4089, allocations: 4 kB / 1.242 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4089, allocations: 0 / 1.242 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4089, allocations: 3.938 kB / 1.242 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.4092, allocations: 237.7 kB / 1.243 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4092, allocations: 4 kB / 1.243 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.4094, allocations: 27.97 kB / 1.243 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.4099, allocations: 80.75 kB / 1.243 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.4099, allocations: 11.94 kB / 1.243 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.4117, allocations: 1.674 MB / 1.244 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4118, allocations: 4.031 kB / 1.244 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.4128, allocations: 388 kB / 1.245 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-05/0.4129, allocations: 100.9 kB / 1.245 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.4129, allocations: 8 kB / 1.245 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.4132, allocations: 19.91 kB / 1.245 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.4132, allocations: 11.98 kB / 1.245 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.4133, allocations: 8 kB / 1.245 GB, free: 15.39 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.946e-05/0.4133, allocations: 116.9 kB / 1.245 GB, free: 15.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4133, allocations: 3.938 kB / 1.245 GB, free: 15.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003359/0.4137, allocations: 43.94 kB / 1.245 GB, free: 15.23 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.001405/0.4151, allocations: 0.9268 MB / 1.246 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008908/0.416, allocations: 306.7 kB / 1.246 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.416, allocations: 0 / 1.246 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.4166, allocations: 230.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.0003156/0.4169, allocations: 26.02 kB / 1.247 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.4208, allocations: 2.054 MB / 1.249 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.4211, allocations: 0.7124 MB / 1.249 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000144/0.4213, allocations: 28.94 kB / 1.249 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/0.4214, allocations: 31.42 kB / 1.249 GB, free: 10.74 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.4214, allocations: 0 / 1.249 GB, free: 10.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.4453, allocations: 4.74 MB / 1.254 GB, free: 6.156 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.34, allocations: 7.234 kB / 1.254 GB, free: 6.152 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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