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.0007855/0.0007855, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001851, allocations: 440 kB / 10.41 MB, free: 284 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.0007115/0.0007115, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009288/0.00164, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9332/0.9332, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08926/1.022, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.559/2.559, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2534/2.812, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[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_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.[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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.819 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.045e-05, allocations: 6.25 kB / 0.819 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004038/0.004059, allocations: 4.286 MB / 0.8232 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.005976, allocations: 2.597 MB / 0.8257 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.006044, allocations: 0 / 0.8257 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.006227, allocations: 55.62 kB / 0.8258 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.006428, allocations: 119.3 kB / 0.8259 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.007429, allocations: 0.6128 MB / 0.8265 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.007703, allocations: 291.8 kB / 0.8268 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.007746, allocations: 22.39 kB / 0.8268 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.007962, allocations: 171.6 kB / 0.8269 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.008077, allocations: 75.78 kB / 0.827 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.008098, allocations: 12 kB / 0.827 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005573/0.008656, allocations: 446.9 kB / 0.8275 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.008718, allocations: 27.94 kB / 0.8275 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.00877, allocations: 55.88 kB / 0.8275 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.009234, allocations: 362.9 kB / 0.8279 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.009248, allocations: 0 / 0.8279 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.203e-06/0.009249, allocations: 0 / 0.8279 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.009264, allocations: 0 / 0.8279 GB, free: 9.258 MB / 0.8073 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.0006973/0.009961, allocations: 0.5515 MB / 0.8284 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.009995, allocations: 12.03 kB / 0.8284 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.01102, allocations: 264 kB / 0.8287 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.01121, allocations: 145.6 kB / 0.8288 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.01123, allocations: 12.7 kB / 0.8288 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.01126, allocations: 16.38 kB / 0.8288 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.01162, allocations: 473.9 kB / 0.8293 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.01163, allocations: 4.125 kB / 0.8293 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.01166, allocations: 12.12 kB / 0.8293 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.01168, allocations: 7.984 kB / 0.8293 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.01185, allocations: 151.7 kB / 0.8295 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.01266, allocations: 1.074 MB / 0.8305 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.01287, allocations: 120.2 kB / 0.8306 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.01292, allocations: 44.8 kB / 0.8307 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.01294, allocations: 4 kB / 0.8307 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.01297, allocations: 38.56 kB / 0.8307 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/0.01297, allocations: 0 / 0.8307 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0002109/0.01318, allocations: 141.5 kB / 0.8308 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.0132, allocations: 55.41 kB / 0.8309 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.01328, allocations: 144.7 kB / 0.831 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.0133, allocations: 29.7 kB / 0.8311 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.01336, allocations: 124.3 kB / 0.8312 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.0134, allocations: 75.36 kB / 0.8313 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.01346, allocations: 53.62 kB / 0.8313 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.01354, allocations: 330.7 kB / 0.8316 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.01358, allocations: 27.98 kB / 0.8317 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.01365, allocations: 105.3 kB / 0.8318 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.01379, allocations: 174.5 kB / 0.8319 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01379, allocations: 0 / 0.8319 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001768/0.01397, allocations: 169.3 kB / 0.8321 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01399, allocations: 8 kB / 0.8321 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01399, allocations: 3.984 kB / 0.8321 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01401, allocations: 7.938 kB / 0.8321 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.01423, allocations: 75.88 kB / 0.8322 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01423, allocations: 8 kB / 0.8322 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.01432, allocations: 28.14 kB / 0.8322 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.01434, allocations: 12 kB / 0.8322 GB, free: 4.457 MB / 0.8073 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 (29): * Single equations (assignments): 29 * 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.842e-05/0.01442, allocations: 132.5 kB / 0.8323 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.01445, allocations: 19.98 kB / 0.8324 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.01465, allocations: 152.8 kB / 0.8325 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01465, allocations: 0 / 0.8325 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01465, allocations: 4 kB / 0.8325 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01465, allocations: 0 / 0.8325 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.01479, allocations: 125.7 kB / 0.8326 GB, free: 4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0148, allocations: 0 / 0.8326 GB, free: 4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.01495, allocations: 55.95 kB / 0.8327 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.01499, allocations: 19.88 kB / 0.8327 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01499, allocations: 4 kB / 0.8327 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.015, allocations: 7.938 kB / 0.8327 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01501, allocations: 0 / 0.8327 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01501, allocations: 0 / 0.8327 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.01518, allocations: 223.4 kB / 0.8329 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01521, allocations: 11.94 kB / 0.8329 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.01531, allocations: 11.98 kB / 0.833 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.01533, allocations: 19.97 kB / 0.833 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.01535, allocations: 8 kB / 0.833 GB, free: 3.629 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.58e-05/0.01537, allocations: 27.02 kB / 0.833 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01537, allocations: 3.938 kB / 0.833 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002101/0.01558, allocations: 71.89 kB / 0.8331 GB, free: 3.527 MB / 0.8073 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 (22): * Single equations (assignments): 22 * 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.0001755/0.01576, allocations: 128.2 kB / 0.8332 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.01592, allocations: 125.6 kB / 0.8333 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.01593, allocations: 0 / 0.8333 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.016, allocations: 81.67 kB / 0.8334 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.01633, allocations: 185 kB / 0.8336 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.0192, allocations: 407.6 kB / 0.834 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.01923, allocations: 69 kB / 0.834 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.01939, allocations: 53.45 kB / 0.8341 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.01957, allocations: 123.3 kB / 0.8342 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/0.01957, allocations: 0 / 0.8342 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of Templates: time 0.005456/0.02503, allocations: 4.068 MB / 0.8382 GB, free: 14.34 MB / 0.823 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.406839028000832]