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.006008/0.006008, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.00134/0.00134, 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.178/2.178, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7012/0.7025, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002702/0.7052, allocations: 1.673 MB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.174/0.8792, allocations: 149.7 MB / 1.235 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.8794, allocations: 1.375 kB / 1.235 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.8797, allocations: 22.33 kB / 1.235 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.88, allocations: 53.77 kB / 1.235 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.8805, allocations: 184.9 kB / 1.236 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.8808, allocations: 162.4 kB / 1.236 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.8809, allocations: 26.3 kB / 1.236 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.8822, allocations: 199.3 kB / 1.236 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.8823, allocations: 64.19 kB / 1.236 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.8823, allocations: 8.906 kB / 1.236 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.8827, allocations: 161 kB / 1.236 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.8827, allocations: 27.27 kB / 1.236 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.8828, allocations: 52.05 kB / 1.236 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.8832, allocations: 211.2 kB / 1.236 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8833, allocations: 0 / 1.236 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8833, allocations: 0 / 1.236 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.8833, allocations: 0.9375 kB / 1.236 GB, free: 2.895 MB / 0.9669 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.0008894/0.8842, allocations: 473.9 kB / 1.237 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8842, allocations: 10.22 kB / 1.237 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.8843, allocations: 36.97 kB / 1.237 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006353/0.8849, allocations: 63.25 kB / 1.237 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.8851, allocations: 204.3 kB / 1.237 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.8852, allocations: 7.5 kB / 1.237 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.8852, allocations: 8.203 kB / 1.237 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.8857, allocations: 184.5 kB / 1.237 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8857, allocations: 1.125 kB / 1.237 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.8857, allocations: 5.031 kB / 1.237 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8857, allocations: 2.375 kB / 1.237 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.8863, allocations: 152.9 kB / 1.237 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.8874, allocations: 0.8235 MB / 1.238 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.8878, allocations: 134.4 kB / 1.238 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.8881, allocations: 80.11 kB / 1.239 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.8881, allocations: 1.25 kB / 1.239 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.8882, allocations: 34.55 kB / 1.239 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.8882, allocations: 5.344 kB / 1.239 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.00202/0.8902, allocations: 453.5 kB / 1.239 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.8902, allocations: 56.72 kB / 1.239 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.8904, allocations: 149.3 kB / 1.239 GB, free: 440 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.8904, allocations: 29.64 kB / 1.239 GB, free: 404 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.8905, allocations: 117.9 kB / 1.239 GB, free: 288 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.8905, allocations: 34.48 kB / 1.239 GB, free: 256 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.8906, allocations: 31.33 kB / 1.239 GB, free: 228 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8907, allocations: 321.6 kB / 1.24 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.891, allocations: 67.59 kB / 1.24 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.8913, allocations: 112.1 kB / 1.24 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.8918, allocations: 176.3 kB / 1.24 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8918, allocations: 0 / 1.24 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001085/0.8929, allocations: 278.4 kB / 1.24 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.893, allocations: 10 kB / 1.24 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.893, allocations: 13.47 kB / 1.24 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.8936, allocations: 85.25 kB / 1.24 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.8939, allocations: 32.97 kB / 1.24 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.896, allocations: 1.652 MB / 1.242 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.8962, allocations: 26.86 kB / 1.242 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.8963, allocations: 8.062 kB / 1.242 GB, free: 13.82 MB / 0.9825 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.0001201/0.8964, allocations: 127.3 kB / 1.242 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.8965, allocations: 13.41 kB / 1.242 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.8976, allocations: 311.9 kB / 1.243 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8976, allocations: 1.375 kB / 1.243 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.8976, allocations: 1.375 kB / 1.243 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8976, allocations: 7.984 kB / 1.243 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.8979, allocations: 238.1 kB / 1.243 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8979, allocations: 0 / 1.243 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.8981, allocations: 27.91 kB / 1.243 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.8986, allocations: 74.41 kB / 1.243 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.8986, allocations: 12.98 kB / 1.243 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.9005, allocations: 1.687 MB / 1.244 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.9005, allocations: 1.5 kB / 1.244 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.9016, allocations: 382.8 kB / 1.245 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.9017, allocations: 104.3 kB / 1.245 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.9018, allocations: 1.219 kB / 1.245 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.902, allocations: 24.86 kB / 1.245 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.9021, allocations: 16.78 kB / 1.245 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.9021, allocations: 2.906 kB / 1.245 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.925e-05/0.9022, allocations: 115.1 kB / 1.245 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9022, allocations: 0 / 1.245 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003648/0.9026, allocations: 44.12 kB / 1.245 GB, free: 11.05 MB / 0.9825 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.001424/0.904, allocations: 0.9352 MB / 1.246 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009701/0.905, allocations: 300.8 kB / 1.246 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.905, allocations: 3.938 kB / 1.246 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.9056, allocations: 235.7 kB / 1.247 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.906, allocations: 21.64 kB / 1.247 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.9101, allocations: 2.067 MB / 1.249 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.9104, allocations: 0.7085 MB / 1.249 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.9106, allocations: 24.81 kB / 1.249 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.353e-05/0.9107, allocations: 39.41 kB / 1.249 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.9107, allocations: 0 / 1.249 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.9348, allocations: 4.743 MB / 1.254 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.74, allocations: 3.938 kB / 1.254 GB, free: 2.555 MB / 0.9825 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