Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009738/0.0009738, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001625/0.001625, allocations: 169 kB / 24.28 MB, free: 284 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 1.027/1.027, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.823/1.823, allocations: 359 MB / 0.6055 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.61e-05, allocations: 4.688 kB / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004552/0.004578, allocations: 4.213 MB / 0.7913 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.006673, allocations: 2.542 MB / 0.7937 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.537e-05/0.006758, allocations: 0 / 0.7937 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.007024, allocations: 35.77 kB / 0.7938 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.007295, allocations: 112.6 kB / 0.7939 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009826/0.008278, allocations: 0.5639 MB / 0.7944 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.008539, allocations: 268.5 kB / 0.7947 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.008586, allocations: 10.34 kB / 0.7947 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.0088, allocations: 156.9 kB / 0.7948 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.008917, allocations: 83.75 kB / 0.7949 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.008939, allocations: 8 kB / 0.7949 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005105/0.009449, allocations: 407 kB / 0.7953 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.009525, allocations: 40.98 kB / 0.7954 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.00959, allocations: 63.89 kB / 0.7954 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.01007, allocations: 414.7 kB / 0.7958 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01007, allocations: 0.8438 kB / 0.7958 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.113e-06/0.01007, allocations: 0 / 0.7958 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.01007, allocations: 0.5312 kB / 0.7958 GB, free: 3.859 MB / 0.7448 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.0006259/0.0107, allocations: 0.5395 MB / 0.7963 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.01074, allocations: 8.031 kB / 0.7964 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.01193, allocations: 247.3 kB / 0.7966 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.01212, allocations: 160.3 kB / 0.7967 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.01214, allocations: 12.7 kB / 0.7968 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.01217, allocations: 22.62 kB / 0.7968 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.01259, allocations: 0.4916 MB / 0.7973 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.0126, allocations: 4.188 kB / 0.7973 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.01263, allocations: 12.12 kB / 0.7973 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.01265, allocations: 11.44 kB / 0.7973 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.0129, allocations: 179.7 kB / 0.7975 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.01391, allocations: 1.623 MB / 0.799 GB, free: 336 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.01424, allocations: 164.8 kB / 0.7992 GB, free: 160 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.01432, allocations: 60.94 kB / 0.7993 GB, free: 96 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.01434, allocations: 4 kB / 0.7993 GB, free: 92 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.01436, allocations: 45.33 kB / 0.7993 GB, free: 36 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.01437, allocations: 0.9062 kB / 0.7993 GB, free: 36 kB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0003516/0.01472, allocations: 192 kB / 0.7995 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.01475, allocations: 64 kB / 0.7995 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.01485, allocations: 196.2 kB / 0.7997 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.01487, allocations: 35.62 kB / 0.7998 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.01494, allocations: 182.9 kB / 0.7999 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.01498, allocations: 63.42 kB / 0.8 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.01505, allocations: 59.53 kB / 0.8001 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.01518, allocations: 0.4923 MB / 0.8005 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.01525, allocations: 43.75 kB / 0.8006 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.01536, allocations: 153.5 kB / 0.8007 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.01556, allocations: 207.4 kB / 0.8009 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01556, allocations: 0 / 0.8009 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002689/0.01583, allocations: 222 kB / 0.8011 GB, free: 14 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01584, allocations: 8.812 kB / 0.8011 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.01585, allocations: 4 kB / 0.8012 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01586, allocations: 4 kB / 0.8012 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.01605, allocations: 64.98 kB / 0.8012 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.01606, allocations: 4 kB / 0.8012 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01616, allocations: 32.14 kB / 0.8013 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.01617, allocations: 16 kB / 0.8013 GB, free: 13.88 MB / 0.7605 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 8.906e-05/0.01626, allocations: 164.5 kB / 0.8014 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.0163, allocations: 27.88 kB / 0.8015 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.01657, allocations: 184.4 kB / 0.8016 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01657, allocations: 4 kB / 0.8016 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01658, allocations: 0 / 0.8016 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01658, allocations: 0 / 0.8016 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.01675, allocations: 188.4 kB / 0.8018 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01675, allocations: 0 / 0.8018 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.01689, allocations: 59.89 kB / 0.8019 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01689, allocations: 4 kB / 0.8019 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.0169, allocations: 3.938 kB / 0.8019 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.0169, allocations: 4 kB / 0.8019 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01691, allocations: 3.984 kB / 0.8019 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.01716, allocations: 315.7 kB / 0.8022 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.01721, allocations: 35.81 kB / 0.8022 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.01723, allocations: 3.938 kB / 0.8022 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.01733, allocations: 15.98 kB / 0.8022 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.01736, allocations: 7.984 kB / 0.8022 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.01738, allocations: 15.98 kB / 0.8023 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.01742, allocations: 139.2 kB / 0.8024 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01742, allocations: 0 / 0.8024 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002399/0.01766, allocations: 71.94 kB / 0.8025 GB, free: 12.58 MB / 0.7605 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.0001706/0.01783, allocations: 131.2 kB / 0.8026 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.01806, allocations: 160 kB / 0.8027 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01807, allocations: 0 / 0.8027 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.01815, allocations: 79.53 kB / 0.8028 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.01847, allocations: 78.55 kB / 0.8029 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000839/0.01931, allocations: 362.8 kB / 0.8032 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.589e-05/0.01936, allocations: 72.83 kB / 0.8033 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.01953, allocations: 53.45 kB / 0.8034 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.01959, allocations: 24.48 kB / 0.8034 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of SimCode: time 9.42e-07/0.01959, allocations: 0 / 0.8034 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of Templates: time 0.005107/0.0247, allocations: 3.478 MB / 0.8068 GB, free: 8.215 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.275297766085714]