Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.323/2.323, allocations: 443.5 MB / 0.7304 GB, free: 14.05 MB / 0.5763 GB " [Timeout remaining time 177] 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.89 kB / 1.059 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2734, allocations: 160.8 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005399/0.2788, allocations: 3.778 MB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002082/0.279, allocations: 155.5 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.2791, allocations: 3.938 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.309e-05/0.2791, allocations: 7.922 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.2792, allocations: 11.94 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.2795, allocations: 79.75 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.566e-05/0.2796, allocations: 31.84 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.2797, allocations: 3.984 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.2797, allocations: 19.98 kB / 1.22 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.2798, allocations: 11.92 kB / 1.22 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2798, allocations: 4 kB / 1.22 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.2803, allocations: 199.4 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.2804, allocations: 3.984 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.2804, allocations: 8 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.2805, allocations: 43.97 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2805, allocations: 0 / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2805, allocations: 4 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.2805, allocations: 3.938 kB / 1.22 GB, free: 11.54 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003932/0.2809, allocations: 331.5 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.281, allocations: 8.031 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.281, allocations: 38.73 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.281, allocations: 8.938 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2812, allocations: 164.3 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.2812, allocations: 30.27 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.2812, allocations: 8.125 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.2814, allocations: 37.69 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2814, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2814, allocations: 4 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2814, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.2814, allocations: 23.91 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.2819, allocations: 349.9 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.755e-05/0.2819, allocations: 14.58 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.2819, allocations: 4.859 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-05/0.282, allocations: 89.16 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.282, allocations: 34.56 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.282, allocations: 7.938 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.2822, allocations: 33.64 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.2822, allocations: 55.41 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.2823, allocations: 101.8 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2823, allocations: 25.7 kB / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.2824, allocations: 88.09 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-06/0.2824, allocations: 0 / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.2824, allocations: 25.78 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2825, allocations: 318.8 kB / 1.221 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.2825, allocations: 4 kB / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.2826, allocations: 21.7 kB / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.2826, allocations: 17.66 kB / 1.222 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2826, allocations: 0 / 1.222 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.786e-05/0.2827, allocations: 49.69 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2827, allocations: 11.94 kB / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2827, allocations: 3.984 kB / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2827, allocations: 0 / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.935e-05/0.2827, allocations: 4 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2828, allocations: 4 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.2828, allocations: 0 / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2828, allocations: 0 / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.2829, allocations: 117.8 kB / 1.222 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.2829, allocations: 8.047 kB / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.283, allocations: 113 kB / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.325e-05/0.2831, allocations: 184.2 kB / 1.222 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.78e-05/0.2831, allocations: 184.2 kB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.587e-05/0.2832, allocations: 184.2 kB / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.2834, allocations: 409.2 kB / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-05/0.2835, allocations: 108.9 kB / 1.223 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.2835, allocations: 101 kB / 1.223 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-05/0.2836, allocations: 176.3 kB / 1.223 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.2836, allocations: 180.2 kB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-05/0.2837, allocations: 184.2 kB / 1.223 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.44e-05/0.2838, allocations: 184.2 kB / 1.224 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.2839, allocations: 307.7 kB / 1.224 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.284, allocations: 186 kB / 1.224 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.2841, allocations: 188.2 kB / 1.224 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.2842, allocations: 116.9 kB / 1.224 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.2843, allocations: 180.3 kB / 1.225 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.2843, allocations: 105 kB / 1.225 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.2844, allocations: 79.28 kB / 1.225 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2844, allocations: 0 / 1.225 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002274/0.2846, allocations: 23.88 kB / 1.225 GB, free: 5.906 MB / 0.9669 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005087/0.2851, allocations: 0.836 MB / 1.226 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.17e-05/0.2852, allocations: 16 kB / 1.226 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2852, allocations: 3.938 kB / 1.226 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.2852, allocations: 0 / 1.226 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.2856, allocations: 459.8 kB / 1.226 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2866, allocations: 1.313 MB / 1.227 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.2868, allocations: 0.6729 MB / 1.228 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.572e-05/0.2869, allocations: 11.8 kB / 1.228 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.2869, allocations: 15.42 kB / 1.228 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.2869, allocations: 0 / 1.228 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.3094, allocations: 1.493 MB / 1.229 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.249, allocations: 0 / 1.229 GB, free: 1.043 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.476263122000091]