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.001594/0.001594, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001944/0.001944, allocations: 161 kB / 24.16 MB, free: 336 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.9758/0.9758, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.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.907/1.907, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 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.302e-06/1.302e-06, allocations: 0.875 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.634e-05, allocations: 3.156 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004308/0.004324, allocations: 4.285 MB / 0.7643 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.006184, allocations: 2.6 MB / 0.7668 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.006247, allocations: 0 / 0.7668 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.006468, allocations: 49.25 kB / 0.7669 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.006675, allocations: 111.9 kB / 0.767 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/0.007484, allocations: 0.6286 MB / 0.7676 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.007725, allocations: 295.7 kB / 0.7679 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.007765, allocations: 14.44 kB / 0.7679 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.007945, allocations: 167.5 kB / 0.768 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.008047, allocations: 80.7 kB / 0.7681 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.008064, allocations: 8 kB / 0.7681 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007041/0.008768, allocations: 432.1 kB / 0.7685 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.008827, allocations: 39.83 kB / 0.7686 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.008884, allocations: 71.88 kB / 0.7687 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.009294, allocations: 412.7 kB / 0.769 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.009297, allocations: 4 kB / 0.769 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.009297, allocations: 0 / 0.769 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.009301, allocations: 0 / 0.769 GB, free: 13.42 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.0004695/0.00977, allocations: 426.4 kB / 0.7695 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.009798, allocations: 11.97 kB / 0.7695 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.01089, allocations: 266 kB / 0.7697 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.01104, allocations: 145.5 kB / 0.7699 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.01106, allocations: 12.7 kB / 0.7699 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.01108, allocations: 20.38 kB / 0.7699 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.0114, allocations: 463.4 kB / 0.7703 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.01141, allocations: 192 / 0.7703 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.01143, allocations: 17.31 kB / 0.7703 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.01145, allocations: 4 kB / 0.7704 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.01161, allocations: 149.6 kB / 0.7705 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.01234, allocations: 1.072 MB / 0.7715 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.01253, allocations: 123.6 kB / 0.7717 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.01258, allocations: 40.84 kB / 0.7717 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.0126, allocations: 4.969 kB / 0.7717 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.01261, allocations: 34.56 kB / 0.7717 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.01261, allocations: 0.5938 kB / 0.7717 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0001946/0.01281, allocations: 142.5 kB / 0.7719 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.01283, allocations: 51.41 kB / 0.7719 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.01289, allocations: 140.9 kB / 0.7721 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.01291, allocations: 31.23 kB / 0.7721 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.01296, allocations: 132.2 kB / 0.7722 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.01299, allocations: 71.39 kB / 0.7723 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.01305, allocations: 49.86 kB / 0.7723 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.01312, allocations: 323.9 kB / 0.7726 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.61e-05/0.01315, allocations: 28.45 kB / 0.7727 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.01329, allocations: 113.4 kB / 0.7728 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.01342, allocations: 164.5 kB / 0.7729 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01342, allocations: 0 / 0.7729 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001622/0.01358, allocations: 165.9 kB / 0.7731 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.0136, allocations: 8.609 kB / 0.7731 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.0136, allocations: 4 kB / 0.7731 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.01362, allocations: 9.656 kB / 0.7731 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.01382, allocations: 71.88 kB / 0.7732 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.01383, allocations: 8 kB / 0.7732 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.01391, allocations: 20.67 kB / 0.7732 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.01393, allocations: 15.98 kB / 0.7732 GB, free: 8.844 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 6.716e-05/0.01399, allocations: 121.6 kB / 0.7733 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.01403, allocations: 19.98 kB / 0.7734 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.01421, allocations: 145 kB / 0.7735 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.01422, allocations: 7.922 kB / 0.7735 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.01422, allocations: 0 / 0.7735 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01422, allocations: 0 / 0.7735 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.01435, allocations: 126.7 kB / 0.7736 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01436, allocations: 0 / 0.7736 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.01451, allocations: 56.98 kB / 0.7737 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01451, allocations: 0 / 0.7737 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.01452, allocations: 9.219 kB / 0.7737 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01452, allocations: 0 / 0.7737 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01452, allocations: 0 / 0.7737 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.01467, allocations: 222.4 kB / 0.7739 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.01472, allocations: 21.2 kB / 0.7739 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.01473, allocations: 3.984 kB / 0.7739 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.01483, allocations: 12 kB / 0.7739 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.01485, allocations: 15.91 kB / 0.7739 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.01486, allocations: 9.031 kB / 0.774 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.417e-05/0.01488, allocations: 26.86 kB / 0.774 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01488, allocations: 1.562 kB / 0.774 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002002/0.01508, allocations: 79.88 kB / 0.7741 GB, free: 7.945 MB / 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.000134/0.01522, allocations: 114.6 kB / 0.7742 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.01537, allocations: 119.1 kB / 0.7743 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.01537, allocations: 1.719 kB / 0.7743 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-05/0.01543, allocations: 60.75 kB / 0.7743 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.01568, allocations: 74.72 kB / 0.7744 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.01633, allocations: 372.3 kB / 0.7748 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.01637, allocations: 81.56 kB / 0.7748 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.01653, allocations: 46.25 kB / 0.7749 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.01671, allocations: 119.3 kB / 0.775 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of SimCode: time 7.62e-07/0.01671, allocations: 0.5625 kB / 0.775 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of Templates: time 0.005297/0.022, allocations: 3.802 MB / 0.7787 GB, free: 3.305 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.073514535091817]