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.001049/0.001049, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009778/0.0009778, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9635/0.9635, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.823/1.823, allocations: 377.9 MB / 0.6239 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.784e-06/1.784e-06, allocations: 0 / 0.812 GB, free: 292 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.864e-05, allocations: 12.11 kB / 0.812 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006161/0.00619, allocations: 4.211 MB / 0.8162 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002807/0.008997, allocations: 2.564 MB / 0.8187 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.009114, allocations: 4.844 kB / 0.8187 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.009446, allocations: 47.75 kB / 0.8187 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.009809, allocations: 121.2 kB / 0.8188 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.01134, allocations: 0.6258 MB / 0.8194 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.01172, allocations: 295.7 kB / 0.8197 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.01177, allocations: 12.27 kB / 0.8197 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.01206, allocations: 163.6 kB / 0.8199 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.01221, allocations: 83.77 kB / 0.82 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.01224, allocations: 8 kB / 0.82 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.01304, allocations: 430.9 kB / 0.8204 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.01312, allocations: 43.83 kB / 0.8204 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.01319, allocations: 56.41 kB / 0.8205 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.01371, allocations: 419.2 kB / 0.8209 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01371, allocations: 0 / 0.8209 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.322e-06/0.01371, allocations: 1.938 kB / 0.8209 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.01372, allocations: 0 / 0.8209 GB, free: 7.227 MB / 0.7292 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.0006256/0.01434, allocations: 0.5387 MB / 0.8214 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.01438, allocations: 8.031 kB / 0.8214 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.01541, allocations: 248.6 kB / 0.8217 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.01563, allocations: 160.3 kB / 0.8218 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.01566, allocations: 12.7 kB / 0.8218 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.01569, allocations: 16.38 kB / 0.8218 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.01612, allocations: 491.4 kB / 0.8223 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.01613, allocations: 6.531 kB / 0.8223 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.01616, allocations: 12.12 kB / 0.8223 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.01618, allocations: 4 kB / 0.8223 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.01639, allocations: 156.7 kB / 0.8225 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.01752, allocations: 1.59 MB / 0.824 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.01778, allocations: 135.4 kB / 0.8242 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/0.01784, allocations: 54.59 kB / 0.8242 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.01787, allocations: 5.656 kB / 0.8242 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.01791, allocations: 41.39 kB / 0.8243 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.01791, allocations: 0 / 0.8243 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003647/0.01827, allocations: 167.4 kB / 0.8244 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.01831, allocations: 55.41 kB / 0.8245 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.01844, allocations: 203.5 kB / 0.8247 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.01846, allocations: 29.7 kB / 0.8247 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.01855, allocations: 179.6 kB / 0.8249 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.0186, allocations: 75.3 kB / 0.8249 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.01867, allocations: 60.86 kB / 0.825 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.01883, allocations: 0.4962 MB / 0.8255 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.01889, allocations: 36.38 kB / 0.8255 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.01902, allocations: 142.9 kB / 0.8256 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.0192, allocations: 186.3 kB / 0.8258 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.0192, allocations: 4.625 kB / 0.8258 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002483/0.01945, allocations: 198.7 kB / 0.826 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.01947, allocations: 4 kB / 0.826 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.01948, allocations: 7.938 kB / 0.826 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.0195, allocations: 4 kB / 0.826 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.01968, allocations: 64.2 kB / 0.8261 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.01969, allocations: 11.94 kB / 0.8261 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-05/0.01979, allocations: 27.83 kB / 0.8261 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.0198, allocations: 8 kB / 0.8261 GB, free: 1.445 MB / 0.7292 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.0001094/0.01991, allocations: 168.5 kB / 0.8263 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.01999, allocations: 23.94 kB / 0.8263 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.02029, allocations: 176.5 kB / 0.8265 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.02029, allocations: 4 kB / 0.8265 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.02029, allocations: 4 kB / 0.8265 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.0203, allocations: 0 / 0.8265 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.02049, allocations: 161 kB / 0.8267 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.02049, allocations: 0 / 0.8267 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.02067, allocations: 55.89 kB / 0.8267 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.02067, allocations: 0 / 0.8267 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.02068, allocations: 8 kB / 0.8267 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.02069, allocations: 0 / 0.8267 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.02069, allocations: 7.875 kB / 0.8267 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.02096, allocations: 298.1 kB / 0.827 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.02102, allocations: 27.86 kB / 0.827 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.02103, allocations: 4 kB / 0.827 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.02114, allocations: 11.98 kB / 0.8271 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.02116, allocations: 23.88 kB / 0.8271 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.02118, allocations: 7.984 kB / 0.8271 GB, free: 432 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.02123, allocations: 141.2 kB / 0.8272 GB, free: 292 kB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.02123, allocations: 0 / 0.8272 GB, free: 292 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002276/0.02146, allocations: 67.88 kB / 0.8273 GB, free: 224 kB / 0.7292 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.0001859/0.02165, allocations: 147.2 kB / 0.8274 GB, free: 68 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.02185, allocations: 132.1 kB / 0.8275 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.02185, allocations: 4 kB / 0.8276 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.118e-05/0.02191, allocations: 63.58 kB / 0.8276 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.02223, allocations: 76.55 kB / 0.8277 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.02297, allocations: 350.8 kB / 0.828 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.719e-05/0.02302, allocations: 81.19 kB / 0.8281 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000152/0.02317, allocations: 49.45 kB / 0.8281 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.02336, allocations: 150.1 kB / 0.8283 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.02336, allocations: 4 kB / 0.8283 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.005492/0.02885, allocations: 3.804 MB / 0.832 GB, free: 11.41 MB / 0.7448 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.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: 5.072595219127834]