Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_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.001117/0.001116, allocations: 108 kB / 15.6 MB, free: 132 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.001187/0.001187, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5564/0.5578, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003196/0.5611, allocations: 1.908 MB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.146/0.707, allocations: 155.4 MB / 1.171 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.7072, allocations: 4 kB / 1.171 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.7075, allocations: 23.67 kB / 1.171 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.7078, allocations: 75.42 kB / 1.171 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.7085, allocations: 263.2 kB / 1.171 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.7088, allocations: 267 kB / 1.172 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.709, allocations: 72.64 kB / 1.172 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.7102, allocations: 237.9 kB / 1.172 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.7104, allocations: 95.59 kB / 1.172 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.7104, allocations: 16 kB / 1.172 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.7108, allocations: 179.7 kB / 1.172 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.7109, allocations: 51.83 kB / 1.172 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.964e-05/0.711, allocations: 87.58 kB / 1.172 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.7114, allocations: 283.2 kB / 1.173 GB, free: 2.914 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7114, allocations: 0 / 1.173 GB, free: 2.914 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7114, allocations: 0 / 1.173 GB, free: 2.914 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.7114, allocations: 0 / 1.173 GB, free: 2.914 MB / 0.92 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.0009137/0.7123, allocations: 0.5223 MB / 1.173 GB, free: 2.344 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.7124, allocations: 11.97 kB / 1.173 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.7125, allocations: 50.55 kB / 1.173 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008567/0.7133, allocations: 79.73 kB / 1.173 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.7136, allocations: 235.7 kB / 1.174 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/0.7136, allocations: 38.03 kB / 1.174 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.7137, allocations: 19.94 kB / 1.174 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.7142, allocations: 262.6 kB / 1.174 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7142, allocations: 3.938 kB / 1.174 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.7143, allocations: 8 kB / 1.174 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.7143, allocations: 4 kB / 1.174 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.7147, allocations: 163.8 kB / 1.174 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.7163, allocations: 1.18 MB / 1.175 GB, free: 148 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000744/0.717, allocations: 210.6 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.7172, allocations: 68.83 kB / 1.175 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.7173, allocations: 7.969 kB / 1.175 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.7173, allocations: 38.56 kB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.7173, allocations: 3.938 kB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.002627/0.7199, allocations: 0.6258 MB / 1.176 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.72, allocations: 55.41 kB / 1.176 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.7202, allocations: 214.9 kB / 1.176 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.7202, allocations: 29.7 kB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.7203, allocations: 132.1 kB / 1.176 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.7204, allocations: 43.36 kB / 1.177 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/0.7205, allocations: 49.67 kB / 1.177 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.7206, allocations: 334.8 kB / 1.177 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.7208, allocations: 67.95 kB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.721, allocations: 138.8 kB / 1.177 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.7215, allocations: 206.5 kB / 1.177 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7215, allocations: 0 / 1.177 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001417/0.7229, allocations: 370.7 kB / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7229, allocations: 8 kB / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7229, allocations: 0 / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.724, allocations: 165.7 kB / 1.178 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.7242, allocations: 43.89 kB / 1.178 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00367/0.7279, allocations: 3.25 MB / 1.181 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.7282, allocations: 35.73 kB / 1.181 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.7283, allocations: 23.97 kB / 1.181 GB, free: 9.59 MB / 0.9356 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.0001157/0.7284, allocations: 125.8 kB / 1.181 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.7284, allocations: 15.81 kB / 1.181 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.7298, allocations: 377.5 kB / 1.182 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.7298, allocations: 4 kB / 1.182 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.7298, allocations: 4 kB / 1.182 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7298, allocations: 0 / 1.182 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.7301, allocations: 281.3 kB / 1.182 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7301, allocations: 0 / 1.182 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.7302, allocations: 19.98 kB / 1.182 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008104/0.731, allocations: 137.6 kB / 1.182 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.7311, allocations: 8 kB / 1.182 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/0.7344, allocations: 3.297 MB / 1.185 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7345, allocations: 0 / 1.185 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.7357, allocations: 434.1 kB / 1.186 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.864e-05/0.7358, allocations: 116.7 kB / 1.186 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.7359, allocations: 8 kB / 1.186 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.7361, allocations: 11.98 kB / 1.186 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.7362, allocations: 19.97 kB / 1.186 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.7362, allocations: 8 kB / 1.186 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001702/0.7364, allocations: 167.1 kB / 1.186 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7364, allocations: 3.938 kB / 1.186 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003794/0.7368, allocations: 67.94 kB / 1.186 GB, free: 4.121 MB / 0.9356 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.001538/0.7384, allocations: 0.9771 MB / 1.187 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.7394, allocations: 449.5 kB / 1.187 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7394, allocations: 0 / 1.187 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006506/0.74, allocations: 369.2 kB / 1.188 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.7405, allocations: 62.62 kB / 1.188 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.7452, allocations: 2.515 MB / 1.19 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.7454, allocations: 0.7363 MB / 1.191 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002003/0.7456, allocations: 45.8 kB / 1.191 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.7457, allocations: 51.42 kB / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.7458, allocations: 0 / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.7753, allocations: 7.198 MB / 1.198 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.37, allocations: 4 kB / 1.198 GB, free: 7.688 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches