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.0009559/0.0009559, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009638/0.0009638, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 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.9586/0.9586, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.708/1.708, allocations: 359 MB / 0.6052 GB, free: 11.01 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 1.432e-06/1.432e-06, allocations: 0 / 0.7872 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.753e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004488/0.004515, allocations: 4.233 MB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.006672, allocations: 2.576 MB / 0.7938 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.535e-05/0.006758, allocations: 3.938 kB / 0.7938 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.007036, allocations: 52.39 kB / 0.7939 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.00732, allocations: 125.2 kB / 0.794 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.008493, allocations: 0.6283 MB / 0.7946 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.00878, allocations: 291.7 kB / 0.7949 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.00882, allocations: 5.812 kB / 0.7949 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.009042, allocations: 175.5 kB / 0.795 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.009166, allocations: 84.81 kB / 0.7951 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.009188, allocations: 8 kB / 0.7951 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005612/0.00975, allocations: 419 kB / 0.7955 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.009829, allocations: 44.33 kB / 0.7956 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.009895, allocations: 60.45 kB / 0.7956 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.01042, allocations: 414.7 kB / 0.796 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01042, allocations: 0.5625 kB / 0.796 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.21e-07/0.01043, allocations: 1.156 kB / 0.796 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.01043, allocations: 0 / 0.796 GB, free: 3.363 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.0006456/0.01108, allocations: 0.5434 MB / 0.7966 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.01111, allocations: 8.031 kB / 0.7966 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.01218, allocations: 242.7 kB / 0.7968 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.01241, allocations: 156.3 kB / 0.7969 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.01243, allocations: 17.52 kB / 0.797 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.01245, allocations: 16.38 kB / 0.797 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.01288, allocations: 0.4925 MB / 0.7975 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.01289, allocations: 9.344 kB / 0.7975 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.01292, allocations: 8.125 kB / 0.7975 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.01295, allocations: 8 kB / 0.7975 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.01318, allocations: 186.4 kB / 0.7977 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.01434, allocations: 1.629 MB / 0.7993 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.01464, allocations: 157.3 kB / 0.7994 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.01472, allocations: 59.59 kB / 0.7995 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.01474, allocations: 4.938 kB / 0.7995 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.01477, allocations: 45.27 kB / 0.7995 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/0.01477, allocations: 1.094 kB / 0.7995 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0003326/0.0151, allocations: 192 kB / 0.7997 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.01513, allocations: 55.41 kB / 0.7997 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.01537, allocations: 196 kB / 0.7999 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.01539, allocations: 38.81 kB / 0.8 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.01546, allocations: 178.9 kB / 0.8001 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.0155, allocations: 67.41 kB / 0.8002 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.01556, allocations: 60.41 kB / 0.8003 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.01567, allocations: 0.4962 MB / 0.8007 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.01574, allocations: 40.94 kB / 0.8008 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.01585, allocations: 154.9 kB / 0.8009 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.01604, allocations: 207 kB / 0.8011 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01604, allocations: 0 / 0.8011 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002614/0.01631, allocations: 221.2 kB / 0.8013 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01632, allocations: 7.938 kB / 0.8013 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.01633, allocations: 4 kB / 0.8013 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.01634, allocations: 4 kB / 0.8014 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.01654, allocations: 72.2 kB / 0.8014 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.01655, allocations: 4 kB / 0.8014 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.702e-05/0.01665, allocations: 27.83 kB / 0.8015 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.01666, allocations: 12 kB / 0.8015 GB, free: 13.38 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.9e-05/0.01675, allocations: 168.5 kB / 0.8016 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.01679, allocations: 27.88 kB / 0.8017 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.01706, allocations: 190.6 kB / 0.8018 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01707, allocations: 4 kB / 0.8018 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01707, allocations: 0 / 0.8018 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01708, allocations: 0 / 0.8018 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.01725, allocations: 184.4 kB / 0.802 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01725, allocations: 8 kB / 0.802 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.0174, allocations: 51.89 kB / 0.8021 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.0174, allocations: 0 / 0.8021 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.01742, allocations: 7.938 kB / 0.8021 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.01742, allocations: 4 kB / 0.8021 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01742, allocations: 0 / 0.8021 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.01768, allocations: 313.6 kB / 0.8024 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.01773, allocations: 27.81 kB / 0.8024 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.01775, allocations: 11.94 kB / 0.8024 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01786, allocations: 15.98 kB / 0.8024 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.01788, allocations: 11.98 kB / 0.8024 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.0179, allocations: 15.98 kB / 0.8025 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.01795, allocations: 141.5 kB / 0.8026 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01795, allocations: 0 / 0.8026 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002572/0.01821, allocations: 71.94 kB / 0.8027 GB, free: 12.09 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.0001958/0.0184, allocations: 135.1 kB / 0.8028 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.01864, allocations: 155.4 kB / 0.8029 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01864, allocations: 0 / 0.8029 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.01871, allocations: 77.25 kB / 0.803 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.01905, allocations: 77.72 kB / 0.8031 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008197/0.01987, allocations: 362.8 kB / 0.8034 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.57e-05/0.01991, allocations: 72.83 kB / 0.8035 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.02008, allocations: 45.47 kB / 0.8035 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.02014, allocations: 28.48 kB / 0.8036 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of SimCode: time 8.32e-07/0.02014, allocations: 0 / 0.8036 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.006164/0.02631, allocations: 3.75 MB / 0.8072 GB, free: 7.441 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: 4.9633992202579975]