Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 213.4 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.097/3.097, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 70.06 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3252, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00616/0.3313, allocations: 3.23 MB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001534/0.3315, allocations: 47.88 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.3315, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.3317, allocations: 11.92 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3318, allocations: 7.922 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.3328, allocations: 197.3 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3329, allocations: 43.72 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.43e-05/0.333, allocations: 4 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.031e-05/0.333, allocations: 11.98 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3331, allocations: 15.97 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3332, allocations: 8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.3336, allocations: 131.5 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.3336, allocations: 11.92 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.3337, allocations: 4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.3339, allocations: 123.9 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3339, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3339, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.3339, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 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.00043/0.3344, allocations: 282.2 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3344, allocations: 8.031 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.3345, allocations: 38.69 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3345, allocations: 4.938 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3346, allocations: 102.5 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/0.3347, allocations: 51.97 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3347, allocations: 8.125 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3348, allocations: 67.39 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3348, allocations: 3.984 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3349, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.3349, allocations: 7.984 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.231e-05/0.3349, allocations: 8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.3355, allocations: 267.9 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/0.3355, allocations: 18.58 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.3355, allocations: 8.859 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.3356, allocations: 39.95 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3357, allocations: 30.56 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3357, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001724/0.3358, allocations: 45.59 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3359, allocations: 51.41 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.336, allocations: 106 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.336, allocations: 29.7 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.3361, allocations: 88.03 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-06/0.3361, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.3361, allocations: 21.7 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3363, allocations: 318.8 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.3363, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.3363, allocations: 13.72 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.3364, allocations: 29.64 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3364, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.853e-05/0.3365, allocations: 57.58 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3365, allocations: 8 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3365, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3365, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.3366, allocations: 7.938 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3366, allocations: 7.984 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.3366, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3366, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 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 9.818e-05/0.3367, allocations: 114.3 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.3367, allocations: 8.062 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.3369, allocations: 117 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.888e-05/0.337, allocations: 184.2 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.197e-05/0.337, allocations: 180.3 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-05/0.3371, allocations: 188.3 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.3374, allocations: 376.3 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.561e-05/0.3374, allocations: 101 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.3375, allocations: 112.9 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.772e-05/0.3376, allocations: 180.3 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-05/0.3377, allocations: 180.2 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.049e-05/0.3377, allocations: 188.2 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.144e-05/0.3378, allocations: 176.3 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.338, allocations: 315.7 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.3381, allocations: 108.9 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/0.3382, allocations: 180.3 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3383, allocations: 105 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.3384, allocations: 188.2 kB / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.3384, allocations: 105 kB / 1.333 GB, free: 9.387 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.305e-05/0.3385, allocations: 83.27 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3385, allocations: 0 / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002903/0.3388, allocations: 43.81 kB / 1.334 GB, free: 9.262 MB / 1.029 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.0006102/0.3394, allocations: 0.8596 MB / 1.334 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.08e-05/0.3395, allocations: 12 kB / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3395, allocations: 0 / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.3395, allocations: 3.938 kB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.34, allocations: 469.5 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3411, allocations: 1.335 MB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.748e-05/0.3412, allocations: 63.28 kB / 1.336 GB, free: 6.395 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.515e-05/0.3413, allocations: 8.125 kB / 1.336 GB, free: 6.387 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.3413, allocations: 11.44 kB / 1.336 GB, free: 6.375 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3413, allocations: 0 / 1.336 GB, free: 6.375 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.3715, allocations: 2.669 MB / 1.339 GB, free: 3.887 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.94, allocations: 3.281 kB / 1.339 GB, free: 3.887 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: 17.42431133473292]