Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003787, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7868, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003758/0.7906, allocations: 3.067 MB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.793, allocations: 2.182 MB / 0.9586 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.7931, allocations: 0 / 0.9586 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.7934, allocations: 40.75 kB / 0.9587 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.7936, allocations: 87.23 kB / 0.9588 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.7949, allocations: 443.1 kB / 0.9592 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.7952, allocations: 167.2 kB / 0.9593 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.7952, allocations: 12.69 kB / 0.9594 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.7954, allocations: 105.2 kB / 0.9595 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.7956, allocations: 72.72 kB / 0.9595 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.7956, allocations: 6.875 kB / 0.9595 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008001/0.7964, allocations: 401.2 kB / 0.9599 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.7965, allocations: 34.7 kB / 0.9599 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.7965, allocations: 53.45 kB / 0.96 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.797, allocations: 252.2 kB / 0.9602 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.797, allocations: 4 kB / 0.9602 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.797, allocations: 0 / 0.9602 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.797, allocations: 0.8125 kB / 0.9602 GB, free: 2.926 MB / 0.7169 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.0006889/0.7977, allocations: 480.3 kB / 0.9607 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.7977, allocations: 8.875 kB / 0.9607 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.7997, allocations: 191.2 kB / 0.9609 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.7999, allocations: 204 kB / 0.9611 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.7999, allocations: 10.45 kB / 0.9611 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.8, allocations: 14.28 kB / 0.9611 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.8006, allocations: 303.9 kB / 0.9614 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.8006, allocations: 8.719 kB / 0.9614 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.8007, allocations: 11.67 kB / 0.9614 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.8007, allocations: 12.3 kB / 0.9614 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.8014, allocations: 254 kB / 0.9617 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.8027, allocations: 1.385 MB / 0.963 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.8034, allocations: 204.1 kB / 0.9632 GB, free: 264 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.8035, allocations: 2.344 kB / 0.9632 GB, free: 264 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.8035, allocations: 36.72 kB / 0.9633 GB, free: 220 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.8035, allocations: 0 / 0.9633 GB, free: 220 kB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0007977/0.8043, allocations: 252.2 kB / 0.9635 GB, free: 80 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.8044, allocations: 54.12 kB / 0.9636 GB, free: 16 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.8046, allocations: 156.3 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.8046, allocations: 28.14 kB / 0.9637 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.8047, allocations: 130.3 kB / 0.9639 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.8048, allocations: 62.78 kB / 0.9639 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.8048, allocations: 4 kB / 0.9639 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8049, allocations: 326.5 kB / 0.9642 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.8051, allocations: 63.36 kB / 0.9643 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.8054, allocations: 142 kB / 0.9644 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.8057, allocations: 77.09 kB / 0.9645 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8057, allocations: 1.031 kB / 0.9645 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006045/0.8063, allocations: 255.1 kB / 0.9647 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.8063, allocations: 12.41 kB / 0.9648 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8063, allocations: 0 / 0.9648 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.8064, allocations: 4.219 kB / 0.9648 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.8067, allocations: 67.14 kB / 0.9648 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.8068, allocations: 2.938 kB / 0.9648 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.807, allocations: 37.02 kB / 0.9649 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.807, allocations: 16.33 kB / 0.9649 GB, free: 14.96 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.8072, allocations: 132.2 kB / 0.965 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.8072, allocations: 15.11 kB / 0.965 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/0.8079, allocations: 229.5 kB / 0.9652 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.8079, allocations: 6.641 kB / 0.9652 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8079, allocations: 0 / 0.9652 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8079, allocations: 1.375 kB / 0.9652 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.8083, allocations: 247.6 kB / 0.9655 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.8083, allocations: 5.156 kB / 0.9655 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.8086, allocations: 49.84 kB / 0.9655 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.8087, allocations: 4.953 kB / 0.9655 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.8087, allocations: 9.297 kB / 0.9655 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.8087, allocations: 1.25 kB / 0.9655 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8087, allocations: 0 / 0.9655 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.8093, allocations: 303.3 kB / 0.9658 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.8094, allocations: 112.6 kB / 0.9659 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.8095, allocations: 1.312 kB / 0.9659 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.8098, allocations: 20.27 kB / 0.966 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.8098, allocations: 12.91 kB / 0.966 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.8098, allocations: 14.98 kB / 0.966 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.132e-05/0.8099, allocations: 121.3 kB / 0.9661 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8099, allocations: 0 / 0.9661 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004118/0.8103, allocations: 63.88 kB / 0.9662 GB, free: 13.92 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000264/0.8106, allocations: 136.2 kB / 0.9663 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.8111, allocations: 175.9 kB / 0.9665 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8112, allocations: 1.125 kB / 0.9665 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.8114, allocations: 92.31 kB / 0.9666 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.8118, allocations: 55.38 kB / 0.9666 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.8129, allocations: 500 kB / 0.9671 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.8133, allocations: 0.7246 MB / 0.9678 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003588/0.8136, allocations: 52.36 kB / 0.9678 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.8137, allocations: 20.38 kB / 0.9679 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.8137, allocations: 1.062 kB / 0.9679 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of Templates: time 0.009214/0.8229, allocations: 3.131 MB / 0.9709 GB, free: 10.98 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches