Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00137/0.00137, allocations: 77.62 kB / 19.18 MB, free: 2.527 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.001591/0.001591, allocations: 171.1 kB / 22.46 MB, free: 5.359 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.62/1.62, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.974/2.974, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.15e-05, allocations: 6.219 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005363/0.005395, allocations: 3.223 MB / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.005509, allocations: 55.73 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.005541, allocations: 4 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.005648, allocations: 3.938 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.005726, allocations: 15.91 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.006295, allocations: 192.3 kB / 1.004 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.006396, allocations: 35.86 kB / 1.004 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.006428, allocations: 8 kB / 1.004 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.006488, allocations: 23.91 kB / 1.004 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.006568, allocations: 11.98 kB / 1.004 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.006584, allocations: 0 / 1.004 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.006881, allocations: 135.5 kB / 1.004 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.006927, allocations: 7.984 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.00696, allocations: 11.98 kB / 1.004 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.007241, allocations: 127.7 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007244, allocations: 4 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.132e-06/0.007246, allocations: 3.938 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.00725, allocations: 4 kB / 1.004 GB, free: 3.434 MB / 0.9512 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.0004393/0.007689, allocations: 266.3 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.007726, allocations: 8.031 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.007772, allocations: 8.891 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.007893, allocations: 105.7 kB / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.007974, allocations: 55.97 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.007983, allocations: 384 / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.008142, allocations: 75.88 kB / 1.004 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.008151, allocations: 4.125 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.008164, allocations: 3.938 kB / 1.004 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.008182, allocations: 8 kB / 1.004 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/0.008228, allocations: 15.92 kB / 1.004 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.008737, allocations: 240.6 kB / 1.005 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.728e-05/0.008784, allocations: 18.58 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.008801, allocations: 8.797 kB / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.008904, allocations: 36.03 kB / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.008934, allocations: 30.56 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.008935, allocations: 0 / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.009086, allocations: 41.64 kB / 1.005 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.009129, allocations: 51.41 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.009233, allocations: 109.8 kB / 1.005 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.009253, allocations: 25.7 kB / 1.005 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.009305, allocations: 84.14 kB / 1.005 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.749e-06/0.009314, allocations: 7.891 kB / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.009356, allocations: 17.7 kB / 1.005 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.009502, allocations: 318.8 kB / 1.005 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.009515, allocations: 0 / 1.005 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.009543, allocations: 13.91 kB / 1.005 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.56e-05/0.009589, allocations: 33.77 kB / 1.005 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.00959, allocations: 0 / 1.005 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.578e-05/0.009676, allocations: 49.72 kB / 1.005 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.009691, allocations: 8 kB / 1.005 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.009698, allocations: 3.984 kB / 1.005 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.009711, allocations: 0 / 1.005 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.009759, allocations: 7.938 kB / 1.005 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.009771, allocations: 4 kB / 1.005 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.009789, allocations: 0 / 1.005 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.009797, allocations: 8 kB / 1.005 GB, free: 1.598 MB / 0.9512 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.361e-05/0.00988, allocations: 110.4 kB / 1.006 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.009913, allocations: 7.891 kB / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.01006, allocations: 123.8 kB / 1.006 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.298e-05/0.01014, allocations: 184.2 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.721e-05/0.01023, allocations: 180.3 kB / 1.006 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.842e-05/0.01032, allocations: 184.2 kB / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.01057, allocations: 352.9 kB / 1.007 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.104e-05/0.01062, allocations: 101 kB / 1.007 GB, free: 304 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.01067, allocations: 116.9 kB / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.01078, allocations: 180.2 kB / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-05/0.01086, allocations: 180.2 kB / 1.007 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-05/0.01096, allocations: 184.3 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000105/0.01106, allocations: 184.2 kB / 1.007 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.01125, allocations: 307.8 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.01131, allocations: 108.9 kB / 1.008 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.01143, allocations: 180.3 kB / 1.008 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.01161, allocations: 109 kB / 1.008 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.0117, allocations: 184.2 kB / 1.008 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/0.01176, allocations: 101 kB / 1.008 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.69e-05/0.01181, allocations: 91.27 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.01181, allocations: 0 / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002928/0.0121, allocations: 31.88 kB / 1.009 GB, free: 14.29 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.0003407/0.01245, allocations: 234.4 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.957e-05/0.01254, allocations: 15.92 kB / 1.009 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01254, allocations: 0 / 1.009 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.01254, allocations: 0 / 1.009 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.01306, allocations: 459.7 kB / 1.009 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.01337, allocations: 176.1 kB / 1.009 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.01344, allocations: 59.3 kB / 1.009 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.01349, allocations: 12.11 kB / 1.009 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.01351, allocations: 8.5 kB / 1.009 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.01351, allocations: 0 / 1.009 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of Templates: time 0.004464/0.01797, allocations: 1.278 MB / 1.011 GB, free: 12.06 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.64203092083335]