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.00102/0.00102, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 196 kB / 16.53 MB, free: 6.672 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.229/2.229, allocations: 390.3 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5486, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002333/0.551, allocations: 1.662 MB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1414/0.6924, allocations: 149.7 MB / 1.098 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.6925, allocations: 0 / 1.098 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.6928, allocations: 23.73 kB / 1.098 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.6931, allocations: 55.62 kB / 1.098 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.6936, allocations: 187.3 kB / 1.098 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.6939, allocations: 163.5 kB / 1.098 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.694, allocations: 39.34 kB / 1.098 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.6952, allocations: 179.7 kB / 1.098 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.6954, allocations: 67.73 kB / 1.098 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.6954, allocations: 8 kB / 1.098 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.6958, allocations: 159.8 kB / 1.098 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.6959, allocations: 27.91 kB / 1.098 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.296e-05/0.6959, allocations: 55.72 kB / 1.098 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.6963, allocations: 207.3 kB / 1.099 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6963, allocations: 0 / 1.099 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6964, allocations: 0 / 1.099 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.6964, allocations: 4 kB / 1.099 GB, free: 8.766 MB / 0.8575 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.0008013/0.6972, allocations: 458.9 kB / 1.099 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.6972, allocations: 12.03 kB / 1.099 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.6973, allocations: 42.75 kB / 1.099 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006256/0.6979, allocations: 52.53 kB / 1.099 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.6981, allocations: 208.4 kB / 1.099 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.6981, allocations: 12 kB / 1.099 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.6982, allocations: 8 kB / 1.099 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.6986, allocations: 174.7 kB / 1.1 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.6986, allocations: 0 / 1.1 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.6986, allocations: 12 kB / 1.1 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6987, allocations: 0 / 1.1 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.6992, allocations: 147.7 kB / 1.1 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.7002, allocations: 0.8207 MB / 1.101 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.7006, allocations: 130.5 kB / 1.101 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.7009, allocations: 80.95 kB / 1.101 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.7009, allocations: 3.984 kB / 1.101 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.7009, allocations: 34.56 kB / 1.101 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.7009, allocations: 4 kB / 1.101 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001869/0.7028, allocations: 455.1 kB / 1.101 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.7028, allocations: 63.34 kB / 1.101 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.703, allocations: 151.8 kB / 1.101 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.703, allocations: 25.7 kB / 1.101 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.7031, allocations: 112.2 kB / 1.102 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.7031, allocations: 23.64 kB / 1.102 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.7032, allocations: 37.61 kB / 1.102 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.7033, allocations: 318.8 kB / 1.102 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.7035, allocations: 71.94 kB / 1.102 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.7038, allocations: 108.1 kB / 1.102 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.7043, allocations: 192.3 kB / 1.102 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7043, allocations: 4 kB / 1.102 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001034/0.7053, allocations: 274.1 kB / 1.103 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.7053, allocations: 11.94 kB / 1.103 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7054, allocations: 0 / 1.103 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/0.7059, allocations: 84.89 kB / 1.103 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.7062, allocations: 35.95 kB / 1.103 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.7081, allocations: 1.656 MB / 1.104 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.7083, allocations: 31.84 kB / 1.104 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.7084, allocations: 7.938 kB / 1.104 GB, free: 2.5 MB / 0.8575 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 9.716e-05/0.7085, allocations: 117.8 kB / 1.104 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.7085, allocations: 15.81 kB / 1.104 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.7096, allocations: 311 kB / 1.105 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7096, allocations: 0 / 1.105 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.7096, allocations: 0 / 1.105 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7096, allocations: 7.984 kB / 1.105 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.7099, allocations: 245.4 kB / 1.105 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.7099, allocations: 3.984 kB / 1.105 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.7101, allocations: 27.97 kB / 1.105 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/0.7105, allocations: 72.78 kB / 1.105 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.7106, allocations: 7.922 kB / 1.105 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.7123, allocations: 1.681 MB / 1.107 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7123, allocations: 0 / 1.107 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.7133, allocations: 376.8 kB / 1.107 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.7134, allocations: 112.8 kB / 1.107 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.7134, allocations: 4 kB / 1.107 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.7136, allocations: 19.86 kB / 1.107 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.7137, allocations: 19.97 kB / 1.107 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.7137, allocations: 0 / 1.107 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.399e-05/0.7138, allocations: 120.7 kB / 1.107 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7138, allocations: 0 / 1.107 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003231/0.7141, allocations: 44 kB / 1.107 GB, free: 15.09 MB / 0.8731 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.001293/0.7154, allocations: 0.9223 MB / 1.108 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008609/0.7163, allocations: 314.4 kB / 1.109 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7163, allocations: 0 / 1.109 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.7169, allocations: 234.8 kB / 1.109 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.7172, allocations: 28.11 kB / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.7209, allocations: 2.06 MB / 1.111 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.7212, allocations: 0.7124 MB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.7214, allocations: 24.81 kB / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.7214, allocations: 35.42 kB / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.7214, allocations: 0 / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.7451, allocations: 4.667 MB / 1.116 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.51, allocations: 5.812 kB / 1.116 GB, free: 6.062 MB / 0.8731 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