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.001716/0.001716, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002281/0.002281, allocations: 216 kB / 22.25 MB, free: 5.117 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.031 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.206/3.206, allocations: 0.49 GB / 0.7951 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 176] 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.002035/0.002035, allocations: 61.19 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3351, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005377/0.3405, allocations: 3.409 MB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001182/0.3406, allocations: 55.86 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.3406, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.3407, allocations: 7.938 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.3408, allocations: 7.969 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006943/0.3415, allocations: 206.5 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3416, allocations: 39.84 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.3417, allocations: 4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.235e-05/0.3417, allocations: 11.94 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.804e-05/0.3418, allocations: 15.97 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3418, allocations: 0 / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.3422, allocations: 195.5 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.3423, allocations: 7.984 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.3423, allocations: 7.938 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.3426, allocations: 135.9 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3426, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3426, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.3426, allocations: 0 / 1.33 GB, free: 13.88 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.0004951/0.3431, allocations: 278.2 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.3432, allocations: 8.031 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.3432, allocations: 30.75 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.3433, allocations: 4.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3434, allocations: 106.5 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-05/0.3435, allocations: 55.97 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.3435, allocations: 16.11 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3437, allocations: 37.69 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3437, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3437, allocations: 3.984 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.3437, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.095e-05/0.3438, allocations: 19.98 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.3443, allocations: 260 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.247e-05/0.3444, allocations: 22.52 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.3444, allocations: 8.922 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.3445, allocations: 31.97 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3445, allocations: 34.56 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.3445, allocations: 3.938 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001983/0.3447, allocations: 37.59 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.3448, allocations: 51.41 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.3449, allocations: 113.9 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3449, allocations: 25.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.345, allocations: 88.03 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.345, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.345, allocations: 17.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3451, allocations: 318.8 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.3452, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.3452, allocations: 25.7 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.3452, allocations: 17.72 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3452, allocations: 3.938 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.359e-05/0.3453, allocations: 45.69 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3453, allocations: 8 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3453, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3453, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.3454, allocations: 8.062 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3454, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.3454, allocations: 11.89 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3454, allocations: 4 kB / 1.332 GB, free: 12 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 8.367e-05/0.3455, allocations: 118.3 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.3455, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.3457, allocations: 113 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-05/0.3457, allocations: 192.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.395e-05/0.3458, allocations: 180.2 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.229e-05/0.3459, allocations: 180.3 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3462, allocations: 384.2 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.554e-05/0.3462, allocations: 105 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.3463, allocations: 108.9 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-05/0.3463, allocations: 180.3 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/0.3464, allocations: 176.3 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.059e-05/0.3465, allocations: 188.2 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.422e-05/0.3466, allocations: 180.3 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.3468, allocations: 307.7 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.3468, allocations: 105 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.347, allocations: 188.2 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3471, allocations: 101 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.3472, allocations: 184.2 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/0.3473, allocations: 116.9 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.223e-05/0.3474, allocations: 83.28 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3474, allocations: 0 / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003236/0.3477, allocations: 39.75 kB / 1.335 GB, free: 8.637 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.0006772/0.3484, allocations: 0.873 MB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.3485, allocations: 11.98 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3485, allocations: 0 / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3485, allocations: 128 / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.3489, allocations: 465.2 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.3501, allocations: 1.336 MB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.3505, allocations: 0.6768 MB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.3506, allocations: 10.11 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.3506, allocations: 7.438 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3506, allocations: 0 / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.3802, allocations: 2.242 MB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.39, allocations: 7.969 kB / 1.34 GB, free: 3.062 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: 18.242150179999953]