Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007674/0.0007674, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.00184, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006879/0.0006879, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008981/0.001586, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9806/0.9806, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08939/1.07, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.823/1.823, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4893/2.312, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.818e-05, allocations: 5.391 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003897/0.003916, allocations: 4.279 MB / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.005763, allocations: 2.603 MB / 0.7361 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.005829, allocations: 4 kB / 0.7361 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.005992, allocations: 52.22 kB / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.006177, allocations: 113.5 kB / 0.7363 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.007042, allocations: 0.6151 MB / 0.7369 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.007363, allocations: 296.8 kB / 0.7372 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.007408, allocations: 6.469 kB / 0.7372 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.007614, allocations: 176.8 kB / 0.7373 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.007727, allocations: 79.78 kB / 0.7374 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.007746, allocations: 8 kB / 0.7374 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.008221, allocations: 444 kB / 0.7378 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.008276, allocations: 23.94 kB / 0.7379 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.008331, allocations: 55.88 kB / 0.7379 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.008741, allocations: 363.5 kB / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.008756, allocations: 1.656 kB / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.008757, allocations: 0 / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.008771, allocations: 0 / 0.7383 GB, free: 11.43 MB / 0.7136 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.0006429/0.009414, allocations: 0.5593 MB / 0.7388 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.009446, allocations: 9.25 kB / 0.7388 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.01045, allocations: 273.3 kB / 0.7391 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.01062, allocations: 150.3 kB / 0.7392 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.01064, allocations: 8.703 kB / 0.7392 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.01067, allocations: 21.03 kB / 0.7392 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.01101, allocations: 468 kB / 0.7397 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.01102, allocations: 192 / 0.7397 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.01104, allocations: 12.12 kB / 0.7397 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.01106, allocations: 8 kB / 0.7397 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.01123, allocations: 146.1 kB / 0.7399 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007938/0.01202, allocations: 1.084 MB / 0.7409 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.01224, allocations: 123.5 kB / 0.741 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.01229, allocations: 37.78 kB / 0.7411 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.01231, allocations: 4.844 kB / 0.7411 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.01234, allocations: 38.56 kB / 0.7411 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.01234, allocations: 2.75 kB / 0.7411 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0002059/0.01254, allocations: 137.4 kB / 0.7412 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.01257, allocations: 55.41 kB / 0.7413 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.01264, allocations: 145.5 kB / 0.7414 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.01266, allocations: 25.7 kB / 0.7415 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.01271, allocations: 139 kB / 0.7416 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.01275, allocations: 63.47 kB / 0.7416 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.0128, allocations: 49.86 kB / 0.7417 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.01288, allocations: 326.8 kB / 0.742 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/0.01292, allocations: 28.45 kB / 0.742 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.01298, allocations: 107 kB / 0.7421 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.01312, allocations: 160 kB / 0.7423 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.01312, allocations: 4.625 kB / 0.7423 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001787/0.0133, allocations: 162.8 kB / 0.7424 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01331, allocations: 9.5 kB / 0.7425 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01332, allocations: 0 / 0.7425 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.01333, allocations: 7.938 kB / 0.7425 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.01356, allocations: 81 kB / 0.7425 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01356, allocations: 4 kB / 0.7425 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.01365, allocations: 24.62 kB / 0.7426 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.01366, allocations: 11.98 kB / 0.7426 GB, free: 6.676 MB / 0.7136 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.831e-05/0.01374, allocations: 129.3 kB / 0.7427 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.01377, allocations: 12.7 kB / 0.7427 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.01396, allocations: 144.6 kB / 0.7429 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01396, allocations: 10.38 kB / 0.7429 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.01397, allocations: 3.984 kB / 0.7429 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01397, allocations: 0 / 0.7429 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.01411, allocations: 121.8 kB / 0.743 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01411, allocations: 0 / 0.743 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.01428, allocations: 61.28 kB / 0.743 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.01432, allocations: 27.83 kB / 0.7431 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01432, allocations: 0 / 0.7431 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01433, allocations: 4 kB / 0.7431 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01434, allocations: 6.344 kB / 0.7431 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01434, allocations: 4 kB / 0.7431 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.01451, allocations: 213.3 kB / 0.7433 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.01453, allocations: 4 kB / 0.7433 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.01462, allocations: 8 kB / 0.7433 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.01465, allocations: 26.66 kB / 0.7433 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.01466, allocations: 4 kB / 0.7433 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.01468, allocations: 28.83 kB / 0.7434 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01468, allocations: 0 / 0.7434 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002085/0.01489, allocations: 75.88 kB / 0.7434 GB, free: 5.77 MB / 0.7136 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.0001598/0.01505, allocations: 118.9 kB / 0.7435 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.01521, allocations: 120 kB / 0.7437 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01522, allocations: 4 kB / 0.7437 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.416e-05/0.01527, allocations: 62.73 kB / 0.7437 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.01554, allocations: 93.58 kB / 0.7438 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.0186, allocations: 380.9 kB / 0.7442 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.01864, allocations: 72.7 kB / 0.7442 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.0188, allocations: 45.97 kB / 0.7443 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.01899, allocations: 132.9 kB / 0.7444 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.01899, allocations: 0 / 0.7444 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of Templates: time 0.005247/0.02424, allocations: 3.954 MB / 0.7483 GB, free: 0.9609 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.850240179337561]