Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.007293/0.007294, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.00203/0.00203, allocations: 195.6 kB / 16.67 MB, free: 5.926 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.374/2.374, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.72 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2504, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003117/0.2536, allocations: 1.906 MB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1487/0.4023, allocations: 155.4 MB / 1.241 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.4025, allocations: 7.938 kB / 1.241 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.4027, allocations: 23.73 kB / 1.241 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.403, allocations: 83.34 kB / 1.241 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.4037, allocations: 255.1 kB / 1.241 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.404, allocations: 267.2 kB / 1.242 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.4042, allocations: 69.22 kB / 1.242 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.4054, allocations: 239.9 kB / 1.242 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.4056, allocations: 91.59 kB / 1.242 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.4056, allocations: 16 kB / 1.242 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.406, allocations: 191.7 kB / 1.242 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.11e-05/0.4061, allocations: 43.83 kB / 1.242 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.4062, allocations: 91.52 kB / 1.242 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.4066, allocations: 287.9 kB / 1.243 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4066, allocations: 0 / 1.243 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4066, allocations: 0 / 1.243 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4066, allocations: 4 kB / 1.243 GB, free: 2.426 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009306/0.4076, allocations: 0.5184 MB / 1.243 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.4076, allocations: 8.031 kB / 1.243 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.92e-05/0.4077, allocations: 54.55 kB / 1.243 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008331/0.4085, allocations: 83.72 kB / 1.243 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.4088, allocations: 234.5 kB / 1.244 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-05/0.4089, allocations: 42.03 kB / 1.244 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.409, allocations: 15.98 kB / 1.244 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.4095, allocations: 270.5 kB / 1.244 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4095, allocations: 0 / 1.244 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.4095, allocations: 11.94 kB / 1.244 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4096, allocations: 8 kB / 1.244 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.41, allocations: 163.8 kB / 1.244 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.4116, allocations: 1.177 MB / 1.245 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007452/0.4124, allocations: 210.6 kB / 1.245 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.4126, allocations: 72.81 kB / 1.245 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.4126, allocations: 0 / 1.245 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4126, allocations: 34.56 kB / 1.246 GB, free: 15.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.4126, allocations: 0 / 1.246 GB, free: 15.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.002733/0.4154, allocations: 0.6335 MB / 1.246 GB, free: 14.63 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.4154, allocations: 55.41 kB / 1.246 GB, free: 14.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.4157, allocations: 215 kB / 1.246 GB, free: 14.35 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.4157, allocations: 25.7 kB / 1.246 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.4158, allocations: 136 kB / 1.247 GB, free: 14.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.4158, allocations: 47.44 kB / 1.247 GB, free: 14.13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.4159, allocations: 49.59 kB / 1.247 GB, free: 14.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.416, allocations: 338.7 kB / 1.247 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.4163, allocations: 67.95 kB / 1.247 GB, free: 13.67 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.4165, allocations: 134 kB / 1.247 GB, free: 13.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.417, allocations: 205.2 kB / 1.247 GB, free: 13.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.417, allocations: 0 / 1.247 GB, free: 13.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001459/0.4184, allocations: 370.7 kB / 1.248 GB, free: 12.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4185, allocations: 11.94 kB / 1.248 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4185, allocations: 0 / 1.248 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.4195, allocations: 161.8 kB / 1.248 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.4198, allocations: 39.91 kB / 1.248 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.4236, allocations: 3.257 MB / 1.251 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.424, allocations: 27.83 kB / 1.251 GB, free: 9.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.424, allocations: 11.98 kB / 1.251 GB, free: 9.121 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.4241, allocations: 125.8 kB / 1.251 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.4242, allocations: 23.78 kB / 1.251 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.4256, allocations: 382.2 kB / 1.252 GB, free: 8.582 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4256, allocations: 4 kB / 1.252 GB, free: 8.578 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.4256, allocations: 0 / 1.252 GB, free: 8.578 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4256, allocations: 0 / 1.252 GB, free: 8.578 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.4259, allocations: 273.5 kB / 1.252 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4259, allocations: 0 / 1.252 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.426, allocations: 19.98 kB / 1.252 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008454/0.4269, allocations: 145.6 kB / 1.252 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.4269, allocations: 0 / 1.252 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/0.4304, allocations: 3.3 MB / 1.255 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4304, allocations: 0 / 1.255 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.4317, allocations: 436.6 kB / 1.256 GB, free: 4.059 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4319, allocations: 116.8 kB / 1.256 GB, free: 3.926 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.4319, allocations: 4 kB / 1.256 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.4322, allocations: 15.98 kB / 1.256 GB, free: 3.906 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.4323, allocations: 15.97 kB / 1.256 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.4323, allocations: 12 kB / 1.256 GB, free: 3.879 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001758/0.4325, allocations: 155.2 kB / 1.256 GB, free: 3.727 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4325, allocations: 0 / 1.256 GB, free: 3.727 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004043/0.4329, allocations: 72 kB / 1.256 GB, free: 3.656 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001601/0.4345, allocations: 0.9815 MB / 1.257 GB, free: 2.641 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.4355, allocations: 449.4 kB / 1.257 GB, free: 2.176 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4356, allocations: 0 / 1.257 GB, free: 2.176 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006818/0.4362, allocations: 357.2 kB / 1.258 GB, free: 1.801 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.4367, allocations: 67.53 kB / 1.258 GB, free: 1.738 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4593/0.896, allocations: 2.514 MB / 1.26 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.8962, allocations: 0.736 MB / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001959/0.8964, allocations: 35.48 kB / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.8965, allocations: 54.7 kB / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/0.8965, allocations: 0 / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.9278, allocations: 7.287 MB / 1.268 GB, free: 172.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.94, allocations: 7.047 kB / 1.268 GB, free: 172.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_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_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches