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.00157/0.00157, allocations: 121.7 kB / 17.13 MB, free: 5.93 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.001726/0.001726, allocations: 213.8 kB / 20.1 MB, free: 2.98 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.458/1.458, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.844/2.844, allocations: 0.49 GB / 0.7923 GB, free: 1.371 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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [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.00207/0.00207, allocations: 75.89 kB / 1.15 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.9069, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00356/0.9105, allocations: 3.375 MB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 7.558e-05/0.9106, allocations: 52.95 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.9106, allocations: 0 / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.533e-05/0.9107, allocations: 3.938 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.956e-05/0.9107, allocations: 9.906 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.9112, allocations: 198.8 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.502e-05/0.9112, allocations: 30.75 kB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.9113, allocations: 3.984 kB / 1.326 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.9113, allocations: 22.45 kB / 1.326 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.9113, allocations: 13.09 kB / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.9114, allocations: 0 / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.9116, allocations: 188 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.487e-05/0.9117, allocations: 6.578 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.9117, allocations: 13.19 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.9119, allocations: 136.4 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.9119, allocations: 0 / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.183e-06/0.9119, allocations: 0 / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.9119, allocations: 6.781 kB / 1.326 GB, free: 22.35 MB / 1.061 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.0002864/0.9122, allocations: 348.1 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.9122, allocations: 15.39 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.9122, allocations: 4.938 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.315e-05/0.9123, allocations: 163.2 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.9123, allocations: 29.69 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.9124, allocations: 3.188 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.825e-05/0.9125, allocations: 45.14 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.9125, allocations: 0 / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.9125, allocations: 3.984 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.9125, allocations: 6.5 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.764e-05/0.9125, allocations: 11.27 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.9129, allocations: 0.5887 MB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 2.956e-05/0.913, allocations: 17.27 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.156e-05/0.913, allocations: 7.453 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.9131, allocations: 346 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.9131, allocations: 33.16 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.9131, allocations: 7.938 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.9132, allocations: 38.36 kB / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.9133, allocations: 51.41 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.032e-05/0.9133, allocations: 105.9 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.9133, allocations: 29.64 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.169e-05/0.9133, allocations: 88.09 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.9134, allocations: 0 / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.9134, allocations: 15.22 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.447e-05/0.9134, allocations: 322.2 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.9134, allocations: 6.812 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.9134, allocations: 14.72 kB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.9135, allocations: 26.47 kB / 1.328 GB, free: 19.87 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9135, allocations: 0 / 1.328 GB, free: 19.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.533e-05/0.9135, allocations: 54.75 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.9135, allocations: 7.312 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.9136, allocations: 0 / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.9136, allocations: 2.594 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.823e-05/0.9136, allocations: 2.562 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.9136, allocations: 6.469 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.9136, allocations: 3.953 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.9136, allocations: 2.562 kB / 1.328 GB, free: 19.82 MB / 1.061 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 3.953e-05/0.9137, allocations: 115.7 kB / 1.328 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.9137, allocations: 4.062 kB / 1.328 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.9138, allocations: 126.2 kB / 1.328 GB, free: 19.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.9138, allocations: 182.2 kB / 1.329 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/0.9138, allocations: 180.2 kB / 1.329 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.9138, allocations: 182.8 kB / 1.329 GB, free: 19.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.9139, allocations: 411.2 kB / 1.329 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.914, allocations: 104.9 kB / 1.329 GB, free: 18.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.914, allocations: 104.4 kB / 1.33 GB, free: 18.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.932e-05/0.914, allocations: 179.8 kB / 1.33 GB, free: 18.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.914, allocations: 184.2 kB / 1.33 GB, free: 17.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.832e-05/0.914, allocations: 176.3 kB / 1.33 GB, free: 17.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.035e-05/0.9141, allocations: 191 kB / 1.33 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.604e-05/0.9141, allocations: 305.6 kB / 1.331 GB, free: 17.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.9141, allocations: 184.7 kB / 1.331 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.9142, allocations: 179.3 kB / 1.331 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.9143, allocations: 111.4 kB / 1.331 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.9143, allocations: 182.4 kB / 1.331 GB, free: 16.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.9143, allocations: 108.9 kB / 1.331 GB, free: 16.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.612e-05/0.9143, allocations: 88.25 kB / 1.331 GB, free: 16.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9143, allocations: 0 / 1.331 GB, free: 16.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002649/0.9146, allocations: 34.72 kB / 1.331 GB, free: 16.42 MB / 1.061 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.0002078/0.9148, allocations: 249 kB / 1.332 GB, free: 16.22 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.884e-05/0.9149, allocations: 9 kB / 1.332 GB, free: 16.22 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9149, allocations: 128 / 1.332 GB, free: 16.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.9149, allocations: 4 kB / 1.332 GB, free: 16.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.9152, allocations: 467.4 kB / 1.332 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001856/0.9154, allocations: 198.2 kB / 1.332 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.509e-05/0.9155, allocations: 0.6789 MB / 1.333 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.9155, allocations: 14.53 kB / 1.333 GB, free: 14.85 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.9155, allocations: 0 / 1.333 GB, free: 14.85 MB / 1.061 GB Notification: Performance of Templates: time 0.002711/0.9182, allocations: 1.183 MB / 1.334 GB, free: 14.68 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/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: 11.237906941998517]