Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001139/0.001139, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001473/0.001473, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8482/0.8482, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.741/1.741, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.149e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003963/0.003985, allocations: 3.885 MB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.005581, allocations: 2.235 MB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.005645, allocations: 0 / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.005854, allocations: 51.61 kB / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.006061, allocations: 103.2 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.006973, allocations: 0.5686 MB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.007203, allocations: 263.7 kB / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.007238, allocations: 9.812 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.007413, allocations: 155.6 kB / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.751e-05/0.007511, allocations: 83.75 kB / 1.008 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.007528, allocations: 8 kB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004686/0.007996, allocations: 399 kB / 1.009 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.00806, allocations: 43.88 kB / 1.009 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.008113, allocations: 67.83 kB / 1.009 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.008565, allocations: 438.8 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.008566, allocations: 0 / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008567, allocations: 0 / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.008571, allocations: 0 / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000527/0.009098, allocations: 457.3 kB / 1.009 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.009128, allocations: 8.75 kB / 1.009 GB, free: 4.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009529/0.01008, allocations: 188.6 kB / 1.01 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.01029, allocations: 153.6 kB / 1.01 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.01031, allocations: 12.7 kB / 1.01 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.01033, allocations: 12.38 kB / 1.01 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.01077, allocations: 0.5062 MB / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.01078, allocations: 192 / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.0108, allocations: 12.12 kB / 1.01 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.01082, allocations: 4 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.01121, allocations: 255.6 kB / 1.011 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008965/0.01211, allocations: 1.181 MB / 1.012 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.0125, allocations: 182.5 kB / 1.012 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.01262, allocations: 68.81 kB / 1.012 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.01264, allocations: 4 kB / 1.012 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.01266, allocations: 42.44 kB / 1.012 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.01266, allocations: 0 / 1.012 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.000455/0.01311, allocations: 241.4 kB / 1.012 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.01314, allocations: 55.41 kB / 1.012 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.01323, allocations: 143.5 kB / 1.012 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.01325, allocations: 33.7 kB / 1.012 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.0133, allocations: 124.2 kB / 1.013 GB, free: 0.7422 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.01333, allocations: 67.42 kB / 1.013 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.01339, allocations: 53.92 kB / 1.013 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.01346, allocations: 318.8 kB / 1.013 GB, free: 300 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.01358, allocations: 68.42 kB / 1.013 GB, free: 232 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.01372, allocations: 150.2 kB / 1.013 GB, free: 48 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.01399, allocations: 211.1 kB / 1.013 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01399, allocations: 4 kB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003299/0.01432, allocations: 258.2 kB / 1.014 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.01433, allocations: 8 kB / 1.014 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.01433, allocations: 3.938 kB / 1.014 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01435, allocations: 4 kB / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.01452, allocations: 80.19 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01453, allocations: 7.984 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.785e-05/0.01463, allocations: 31.78 kB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.01464, allocations: 11.98 kB / 1.014 GB, free: 15.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 7.758e-05/0.01472, allocations: 125.8 kB / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.01475, allocations: 15.89 kB / 1.014 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/0.0151, allocations: 236.6 kB / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.0151, allocations: 0 / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.0151, allocations: 0 / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01511, allocations: 0 / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.01526, allocations: 177.3 kB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01526, allocations: 0 / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.01539, allocations: 47.97 kB / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.0154, allocations: 0 / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.01541, allocations: 15.92 kB / 1.014 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01541, allocations: 0 / 1.014 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01541, allocations: 0 / 1.014 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.01571, allocations: 297.5 kB / 1.015 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.01576, allocations: 31.86 kB / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.01578, allocations: 7.938 kB / 1.015 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.01589, allocations: 11.98 kB / 1.015 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.01591, allocations: 19.97 kB / 1.015 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.01592, allocations: 4 kB / 1.015 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.01597, allocations: 109 kB / 1.015 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01597, allocations: 0 / 1.015 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002321/0.0162, allocations: 67.89 kB / 1.015 GB, free: 14.21 MB / 0.9792 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 (20): * Single equations (assignments): 20 * 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.0001477/0.01635, allocations: 143.1 kB / 1.015 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002959/0.01664, allocations: 171.7 kB / 1.015 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01665, allocations: 4 kB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01676, allocations: 83.83 kB / 1.015 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01701, allocations: 48.47 kB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.01757, allocations: 395.6 kB / 1.016 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.747e-05/0.01763, allocations: 94.78 kB / 1.016 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.0177, allocations: 32.47 kB / 1.016 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of SimCode: time 3.7e-07/0.0177, allocations: 4 kB / 1.016 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of Templates: time 0.003103/0.02081, allocations: 2.834 MB / 1.019 GB, free: 10.38 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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: 6.5464045917615294]