Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 71.89 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.148, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.007835/1.156, allocations: 3.333 MB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001817/1.156, allocations: 50.98 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/1.156, allocations: 0 / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/1.156, allocations: 7.641 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/1.157, allocations: 21.2 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/1.157, allocations: 190.8 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/1.158, allocations: 32.3 kB / 1.276 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/1.158, allocations: 1.281 kB / 1.276 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/1.158, allocations: 17.06 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/1.158, allocations: 12.84 kB / 1.276 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/1.158, allocations: 4.688 kB / 1.276 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005689/1.158, allocations: 183.7 kB / 1.276 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/1.158, allocations: 11.53 kB / 1.276 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/1.159, allocations: 6.781 kB / 1.276 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/1.159, allocations: 143 kB / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.159, allocations: 0 / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.159, allocations: 4.75 kB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.216e-06/1.159, allocations: 0 / 1.276 GB, free: 5.25 MB / 0.9981 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.0005586/1.16, allocations: 345.3 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.501e-05/1.16, allocations: 10.27 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/1.16, allocations: 1.75 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/1.16, allocations: 171.5 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/1.16, allocations: 28.09 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/1.16, allocations: 1.344 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/1.16, allocations: 48.42 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.16, allocations: 0.9375 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/1.16, allocations: 3.984 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/1.16, allocations: 1.156 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/1.16, allocations: 17.06 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009328/1.161, allocations: 0.5876 MB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.423e-05/1.161, allocations: 16.8 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/1.161, allocations: 6.484 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/1.162, allocations: 348.2 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/1.162, allocations: 31.88 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/1.162, allocations: 0 / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002567/1.162, allocations: 40.92 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/1.162, allocations: 52.02 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/1.162, allocations: 103.2 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/1.162, allocations: 25.7 kB / 1.278 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/1.162, allocations: 90.38 kB / 1.278 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/1.162, allocations: 5.688 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/1.162, allocations: 17.78 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.636e-05/1.162, allocations: 317.8 kB / 1.278 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/1.162, allocations: 6.531 kB / 1.278 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/1.163, allocations: 22.27 kB / 1.278 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/1.163, allocations: 19.94 kB / 1.278 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.163, allocations: 0 / 1.278 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.828e-05/1.163, allocations: 46.5 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/1.163, allocations: 5.031 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.163, allocations: 9.062 kB / 1.278 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/1.163, allocations: 0 / 1.278 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/1.163, allocations: 6.266 kB / 1.278 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.163, allocations: 0.75 kB / 1.278 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/1.163, allocations: 0.6875 kB / 1.278 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.163, allocations: 1.938 kB / 1.278 GB, free: 2.734 MB / 0.9981 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 0.0001151/1.163, allocations: 117.8 kB / 1.278 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/1.163, allocations: 1.656 kB / 1.278 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/1.163, allocations: 124.6 kB / 1.278 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.097e-05/1.163, allocations: 189.7 kB / 1.279 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.769e-05/1.163, allocations: 183.3 kB / 1.279 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.348e-05/1.163, allocations: 180.9 kB / 1.279 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/1.164, allocations: 408.2 kB / 1.279 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/1.164, allocations: 106.2 kB / 1.279 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/1.164, allocations: 106 kB / 1.28 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.729e-05/1.164, allocations: 178.5 kB / 1.28 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/1.164, allocations: 186.2 kB / 1.28 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.965e-05/1.164, allocations: 179 kB / 1.28 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002178/1.164, allocations: 193.2 kB / 1.28 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/1.164, allocations: 308.7 kB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/1.165, allocations: 183 kB / 1.281 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.165, allocations: 177.9 kB / 1.281 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/1.165, allocations: 113 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/1.165, allocations: 184.7 kB / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/1.166, allocations: 102.1 kB / 1.281 GB, free: 15.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.092e-05/1.166, allocations: 79.94 kB / 1.281 GB, free: 15.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.166, allocations: 0 / 1.281 GB, free: 15.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005322/1.166, allocations: 39.31 kB / 1.281 GB, free: 15.33 MB / 1.014 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.0005203/1.167, allocations: 244.5 kB / 1.282 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001274/1.167, allocations: 11.92 kB / 1.282 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.167, allocations: 0 / 1.282 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/1.167, allocations: 0.7188 kB / 1.282 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/1.168, allocations: 461 kB / 1.282 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/1.168, allocations: 191.7 kB / 1.282 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/1.169, allocations: 0.6742 MB / 1.283 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.595e-05/1.169, allocations: 8.719 kB / 1.283 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/1.169, allocations: 9.156 kB / 1.283 GB, free: 13.79 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/1.169, allocations: 0 / 1.283 GB, free: 13.79 MB / 1.014 GB Notification: Performance of Templates: time 0.005893/1.175, allocations: 1.217 MB / 1.284 GB, free: 13.6 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.46117554884404]