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.001312/0.001312, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001544/0.001544, allocations: 220.8 kB / 22.25 MB, free: 5.102 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 7.797 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 2.97/2.97, allocations: 0.49 GB / 0.7951 GB, free: 35.47 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.001944/0.001944, allocations: 70.7 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3029, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005601/0.3085, allocations: 3.245 MB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001063/0.3086, allocations: 43.88 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.3086, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.804e-05/0.3087, allocations: 7.922 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.3088, allocations: 11.94 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.3095, allocations: 195.2 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.221e-05/0.3095, allocations: 35.91 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.3096, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.3096, allocations: 19.86 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.652e-05/0.3097, allocations: 15.97 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.3097, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.31, allocations: 131.6 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.31, allocations: 11.98 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.3101, allocations: 7.938 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.3103, allocations: 131.9 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3103, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3103, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.3103, allocations: 0 / 1.33 GB, free: 13.66 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.0003707/0.3107, allocations: 278.1 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3107, allocations: 11.97 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.3108, allocations: 34.75 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.3108, allocations: 0.9375 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3109, allocations: 106.5 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.311, allocations: 51.97 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.311, allocations: 8.125 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3111, allocations: 71.39 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3111, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3111, allocations: 3.984 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.3111, allocations: 3.938 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.222e-05/0.3112, allocations: 12 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.3117, allocations: 260 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.141e-05/0.3117, allocations: 14.58 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.3117, allocations: 8.859 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.914e-05/0.3118, allocations: 40.02 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3119, allocations: 38.5 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.3119, allocations: 0 / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001405/0.312, allocations: 37.66 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3121, allocations: 55.41 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.3121, allocations: 101.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3122, allocations: 25.7 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.3122, allocations: 96.02 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.3122, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.3123, allocations: 21.7 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3124, allocations: 318.9 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.3124, allocations: 4 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.3124, allocations: 17.66 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.3125, allocations: 25.7 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3125, allocations: 3.938 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.122e-05/0.3126, allocations: 49.62 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3126, allocations: 6.031 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3126, allocations: 0 / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.3126, allocations: 8.062 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.278e-05/0.3126, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3127, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.3127, allocations: 3.953 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.3127, allocations: 4 kB / 1.331 GB, free: 11.75 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.083e-05/0.3128, allocations: 114.3 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.3128, allocations: 4 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.3129, allocations: 120.9 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.191e-05/0.313, allocations: 180.3 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-05/0.3131, allocations: 176.3 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.337e-05/0.3132, allocations: 200.2 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.3134, allocations: 376.3 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.742e-05/0.3135, allocations: 104.9 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.3135, allocations: 113 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.579e-05/0.3136, allocations: 184.2 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.51e-05/0.3137, allocations: 176.3 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.74e-05/0.3138, allocations: 176.3 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.091e-05/0.3138, allocations: 184.2 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.314, allocations: 311.7 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.3141, allocations: 105 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/0.3141, allocations: 180.3 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.3143, allocations: 112.9 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.3144, allocations: 180.3 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.3144, allocations: 108.9 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.3145, allocations: 87.27 kB / 1.334 GB, free: 8.422 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3145, allocations: 0 / 1.334 GB, free: 8.422 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002723/0.3147, allocations: 39.81 kB / 1.334 GB, free: 8.383 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.0005543/0.3153, allocations: 0.8737 MB / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.463e-05/0.3154, allocations: 7.938 kB / 1.335 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3154, allocations: 4 kB / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.3154, allocations: 0 / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3158, allocations: 459.7 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3169, allocations: 1.336 MB / 1.337 GB, free: 5.594 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.317, allocations: 59.34 kB / 1.337 GB, free: 5.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.317, allocations: 8.422 kB / 1.337 GB, free: 5.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.317, allocations: 7.438 kB / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.317, allocations: 0 / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.3459, allocations: 2.707 MB / 1.34 GB, free: 2.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.83, allocations: 9.844 kB / 1.34 GB, free: 2.973 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.09954375901725]