Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_TDryBulXi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_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.008202/0.008202, allocations: 100.9 kB / 15.73 MB, free: 6 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.001852/0.001852, allocations: 189.1 kB / 16.67 MB, free: 5.934 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.614/2.614, allocations: 437 MB / 0.7105 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2697, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002839/0.2725, allocations: 1.661 MB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7262/0.9988, allocations: 149.7 MB / 1.314 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.9989, allocations: 1.094 kB / 1.314 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.9991, allocations: 22.08 kB / 1.314 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.9994, allocations: 56.91 kB / 1.314 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.9998, allocations: 190.2 kB / 1.314 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/1, allocations: 163.3 kB / 1.314 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/1, allocations: 30.5 kB / 1.314 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/1.001, allocations: 181.3 kB / 1.315 GB, free: 12.1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/1.002, allocations: 62.48 kB / 1.315 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/1.002, allocations: 9.5 kB / 1.315 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/1.002, allocations: 164 kB / 1.315 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/1.002, allocations: 26.03 kB / 1.315 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/1.002, allocations: 55.53 kB / 1.315 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/1.002, allocations: 207.2 kB / 1.315 GB, free: 12.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.002, allocations: 1.094 kB / 1.315 GB, free: 12.03 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.102e-06/1.002, allocations: 0 / 1.315 GB, free: 12.03 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.79e-06/1.002, allocations: 0 / 1.315 GB, free: 12.03 MB / 1.014 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.0008646/1.003, allocations: 476.8 kB / 1.316 GB, free: 11.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.003, allocations: 10.56 kB / 1.316 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/1.003, allocations: 40.8 kB / 1.316 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006501/1.004, allocations: 54.08 kB / 1.316 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/1.004, allocations: 217.3 kB / 1.316 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/1.004, allocations: 4.062 kB / 1.316 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/1.004, allocations: 9 kB / 1.316 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/1.005, allocations: 186.4 kB / 1.316 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.005, allocations: 4.969 kB / 1.316 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/1.005, allocations: 4.875 kB / 1.316 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.005, allocations: 2.281 kB / 1.316 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/1.005, allocations: 139.8 kB / 1.316 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/1.007, allocations: 0.8289 MB / 1.317 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/1.007, allocations: 124.8 kB / 1.317 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/1.007, allocations: 90.3 kB / 1.317 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/1.007, allocations: 1.125 kB / 1.317 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/1.007, allocations: 32.25 kB / 1.317 GB, free: 10.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/1.007, allocations: 0 / 1.317 GB, free: 10.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.002171/1.01, allocations: 465.5 kB / 1.318 GB, free: 10.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.01, allocations: 56.53 kB / 1.318 GB, free: 10.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/1.01, allocations: 154.6 kB / 1.318 GB, free: 10.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/1.01, allocations: 26.64 kB / 1.318 GB, free: 10.15 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/1.01, allocations: 107.1 kB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/1.01, allocations: 35.86 kB / 1.318 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/1.01, allocations: 36.05 kB / 1.318 GB, free: 10.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.01, allocations: 323.6 kB / 1.318 GB, free: 9.703 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/1.01, allocations: 73.73 kB / 1.318 GB, free: 9.695 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/1.011, allocations: 104.6 kB / 1.319 GB, free: 9.652 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006518/1.011, allocations: 178 kB / 1.319 GB, free: 9.605 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.011, allocations: 4.719 kB / 1.319 GB, free: 9.602 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001142/1.013, allocations: 276 kB / 1.319 GB, free: 9.543 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.013, allocations: 10.28 kB / 1.319 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/1.013, allocations: 1.125 kB / 1.319 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006975/1.013, allocations: 85.72 kB / 1.319 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/1.013, allocations: 34.55 kB / 1.319 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/1.016, allocations: 1.657 MB / 1.321 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/1.016, allocations: 28.89 kB / 1.321 GB, free: 8.113 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/1.016, allocations: 6.844 kB / 1.321 GB, free: 8.113 MB / 1.014 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.0001196/1.016, allocations: 121.9 kB / 1.321 GB, free: 7.996 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/1.016, allocations: 10.27 kB / 1.321 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/1.017, allocations: 318.8 kB / 1.321 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.017, allocations: 5.156 kB / 1.321 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/1.017, allocations: 0 / 1.321 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.017, allocations: 2.078 kB / 1.321 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/1.018, allocations: 242.9 kB / 1.321 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.018, allocations: 1.312 kB / 1.321 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/1.018, allocations: 37.67 kB / 1.321 GB, free: 7.723 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/1.018, allocations: 74.94 kB / 1.322 GB, free: 7.711 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/1.018, allocations: 7.172 kB / 1.322 GB, free: 7.707 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/1.02, allocations: 1.681 MB / 1.323 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.02, allocations: 0.75 kB / 1.323 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/1.021, allocations: 386.8 kB / 1.324 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/1.021, allocations: 109.5 kB / 1.324 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/1.021, allocations: 5.516 kB / 1.324 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/1.022, allocations: 22.19 kB / 1.324 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/1.022, allocations: 13.42 kB / 1.324 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/1.022, allocations: 5.422 kB / 1.324 GB, free: 6.031 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.105e-05/1.022, allocations: 114.3 kB / 1.324 GB, free: 5.957 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.022, allocations: 4 kB / 1.324 GB, free: 5.953 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003557/1.022, allocations: 43.06 kB / 1.324 GB, free: 5.949 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.001448/1.024, allocations: 0.9133 MB / 1.325 GB, free: 5.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009266/1.025, allocations: 319.5 kB / 1.325 GB, free: 5.141 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.025, allocations: 5.188 kB / 1.325 GB, free: 5.137 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000549/1.025, allocations: 225.5 kB / 1.325 GB, free: 5.023 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/1.026, allocations: 28.69 kB / 1.325 GB, free: 5.02 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/1.03, allocations: 2.07 MB / 1.327 GB, free: 3.699 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/1.03, allocations: 0.7064 MB / 1.328 GB, free: 3.004 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001424/1.03, allocations: 22.66 kB / 1.328 GB, free: 2.996 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/1.03, allocations: 42.52 kB / 1.328 GB, free: 2.984 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/1.03, allocations: 0 / 1.328 GB, free: 2.984 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/1.055, allocations: 4.744 MB / 1.333 GB, free: 2.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.23, allocations: 6.562 kB / 1.333 GB, free: 2.406 MB / 1.014 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches