Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001734/0.001734, allocations: 113 kB / 17.6 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.001978/0.001978, allocations: 186.8 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.517/1.517, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 443.4 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.89 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3564, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006853/0.3633, allocations: 4.104 MB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00383/0.3671, allocations: 2.453 MB / 1.223 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.3672, allocations: 0 / 1.223 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.3675, allocations: 47.67 kB / 1.223 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.3679, allocations: 103.3 kB / 1.223 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.3695, allocations: 0.5401 MB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.3699, allocations: 255.9 kB / 1.223 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.035e-05/0.37, allocations: 13.55 kB / 1.224 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.3703, allocations: 115.5 kB / 1.224 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.3704, allocations: 99.64 kB / 1.224 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.3704, allocations: 8 kB / 1.224 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009525/0.3714, allocations: 463.2 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.3715, allocations: 43.83 kB / 1.224 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3716, allocations: 87.64 kB / 1.224 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008491/0.3724, allocations: 414.7 kB / 1.225 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3725, allocations: 0 / 1.225 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3725, allocations: 0 / 1.225 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.3725, allocations: 0 / 1.225 GB, free: 6.555 MB / 0.9669 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.0009759/0.3734, allocations: 0.5102 MB / 1.225 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3735, allocations: 8.031 kB / 1.225 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.3755, allocations: 180.6 kB / 1.225 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.3759, allocations: 208.2 kB / 1.226 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.3759, allocations: 12.7 kB / 1.226 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.376, allocations: 12.38 kB / 1.226 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.3767, allocations: 304.4 kB / 1.226 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3767, allocations: 0 / 1.226 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.3767, allocations: 12 kB / 1.226 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.3767, allocations: 8 kB / 1.226 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007297/0.3775, allocations: 260 kB / 1.226 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.3796, allocations: 1.393 MB / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.3803, allocations: 186.7 kB / 1.228 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.3805, allocations: 72.72 kB / 1.228 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3805, allocations: 0 / 1.228 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3806, allocations: 38.56 kB / 1.228 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.3806, allocations: 0 / 1.228 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0008142/0.3814, allocations: 250.9 kB / 1.228 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3814, allocations: 55.34 kB / 1.228 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3816, allocations: 159.7 kB / 1.228 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.3816, allocations: 29.7 kB / 1.228 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3818, allocations: 132.2 kB / 1.228 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.3818, allocations: 71.45 kB / 1.228 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.3819, allocations: 53.83 kB / 1.228 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3821, allocations: 322.8 kB / 1.229 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.3823, allocations: 68.41 kB / 1.229 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.3826, allocations: 136 kB / 1.229 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.383, allocations: 222.7 kB / 1.229 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.383, allocations: 7.938 kB / 1.229 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007131/0.3838, allocations: 245.2 kB / 1.229 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3838, allocations: 6.188 kB / 1.229 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3838, allocations: 8 kB / 1.229 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3838, allocations: 4 kB / 1.229 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.3842, allocations: 59.89 kB / 1.23 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3842, allocations: 7.938 kB / 1.23 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.3844, allocations: 35.77 kB / 1.23 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.3844, allocations: 12 kB / 1.23 GB, free: 1.148 MB / 0.9669 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 0.0001298/0.3846, allocations: 133.7 kB / 1.23 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.3846, allocations: 19.91 kB / 1.23 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.3852, allocations: 224.8 kB / 1.23 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3852, allocations: 4 kB / 1.23 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3852, allocations: 0 / 1.23 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3853, allocations: 7.969 kB / 1.23 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.3857, allocations: 245.4 kB / 1.23 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3857, allocations: 0 / 1.23 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.386, allocations: 47.91 kB / 1.23 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.386, allocations: 4 kB / 1.23 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.386, allocations: 4 kB / 1.23 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.386, allocations: 8 kB / 1.23 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.386, allocations: 0 / 1.23 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.3866, allocations: 299.2 kB / 1.231 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3867, allocations: 112.9 kB / 1.231 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.3867, allocations: 4 kB / 1.231 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.387, allocations: 11.98 kB / 1.231 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.387, allocations: 15.98 kB / 1.231 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.3871, allocations: 7.984 kB / 1.231 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.947e-05/0.3872, allocations: 117.3 kB / 1.231 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3872, allocations: 0 / 1.231 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003737/0.3875, allocations: 63.94 kB / 1.231 GB, free: 15.75 MB / 0.9825 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.000241/0.3878, allocations: 135.2 kB / 1.231 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005824/0.3884, allocations: 175.7 kB / 1.231 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3884, allocations: 0 / 1.231 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.3886, allocations: 86.11 kB / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.3891, allocations: 64.45 kB / 1.231 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3902, allocations: 411 kB / 1.232 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.3905, allocations: 0.7173 MB / 1.232 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002623/0.3908, allocations: 53.92 kB / 1.232 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.3909, allocations: 23.42 kB / 1.232 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.3909, allocations: 0 / 1.232 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of Templates: time 0.008321/0.3992, allocations: 3.509 MB / 1.236 GB, free: 10.58 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.552066810429096]