Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 186 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008846/0.0008846, allocations: 98.34 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004077, allocations: 8.219 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.24, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9523/1.192, allocations: 345 MB / 1.237 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/1.193, allocations: 82.19 kB / 1.237 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01839/1.211, allocations: 8.135 MB / 1.245 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.467e-06/1.211, allocations: 0 / 1.245 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.211, allocations: 7.938 kB / 1.245 GB, free: 14.88 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004055/1.212, allocations: 354.7 kB / 1.245 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.212, allocations: 12.03 kB / 1.245 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/1.212, allocations: 11.98 kB / 1.245 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/1.212, allocations: 171 kB / 1.246 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.212, allocations: 7.75 kB / 1.246 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/1.212, allocations: 4 kB / 1.246 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/1.212, allocations: 67.44 kB / 1.246 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/1.212, allocations: 0 / 1.246 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/1.212, allocations: 0 / 1.246 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.212, allocations: 4 kB / 1.246 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/1.212, allocations: 15.38 kB / 1.246 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/1.213, allocations: 469.6 kB / 1.246 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/1.213, allocations: 75.09 kB / 1.246 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/1.213, allocations: 3.812 kB / 1.246 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/1.213, allocations: 42.52 kB / 1.246 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/1.213, allocations: 0 / 1.246 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.0006274/1.214, allocations: 308.1 kB / 1.247 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/1.214, allocations: 106.8 kB / 1.247 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/1.214, allocations: 100.4 kB / 1.247 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/1.214, allocations: 25.7 kB / 1.247 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/1.214, allocations: 91.73 kB / 1.247 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/1.214, allocations: 31.25 kB / 1.247 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.214, allocations: 0 / 1.247 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.214, allocations: 318.3 kB / 1.247 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/1.214, allocations: 15.73 kB / 1.247 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.461e-05/1.214, allocations: 52.52 kB / 1.247 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.717e-05/1.214, allocations: 19.56 kB / 1.247 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/1.214, allocations: 0 / 1.247 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001265/1.214, allocations: 99.45 kB / 1.247 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.214, allocations: 9.094 kB / 1.247 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.214, allocations: 3.984 kB / 1.247 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/1.214, allocations: 4 kB / 1.247 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/1.215, allocations: 16 kB / 1.247 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/1.215, allocations: 7.922 kB / 1.247 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/1.215, allocations: 11.64 kB / 1.247 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/1.215, allocations: 4 kB / 1.247 GB, free: 12.24 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 8.519e-05/1.215, allocations: 117.4 kB / 1.248 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/1.215, allocations: 0 / 1.248 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/1.215, allocations: 11.44 kB / 1.248 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.215, allocations: 0 / 1.248 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.215, allocations: 0 / 1.248 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.215, allocations: 4 kB / 1.248 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/1.215, allocations: 177.1 kB / 1.248 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.215, allocations: 0 / 1.248 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/1.215, allocations: 15.98 kB / 1.248 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.215, allocations: 7.938 kB / 1.248 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/1.215, allocations: 4 kB / 1.248 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.215, allocations: 0 / 1.248 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.215, allocations: 4 kB / 1.248 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/1.216, allocations: 350.9 kB / 1.248 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/1.216, allocations: 93.08 kB / 1.248 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/1.216, allocations: 0 / 1.248 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/1.216, allocations: 4.062 kB / 1.248 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/1.216, allocations: 19.95 kB / 1.248 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/1.216, allocations: 7.938 kB / 1.248 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.961e-05/1.216, allocations: 79.27 kB / 1.248 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.01e-07/1.216, allocations: 0 / 1.248 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002944/1.216, allocations: 15.62 kB / 1.248 GB, free: 11.28 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001524/1.216, allocations: 118.7 kB / 1.248 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001152/1.217, allocations: 39.36 kB / 1.248 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.217, allocations: 4 kB / 1.248 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/1.217, allocations: 15.92 kB / 1.248 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/1.217, allocations: 9.594 kB / 1.248 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/1.217, allocations: 407.8 kB / 1.249 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/1.218, allocations: 0.6848 MB / 1.25 GB, free: 9.965 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.751e-05/1.218, allocations: 7.984 kB / 1.25 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/1.218, allocations: 11.44 kB / 1.25 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of SimCode: time 2.2e-07/1.218, allocations: 0 / 1.25 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of Templates: time 0.002711/1.221, allocations: 0.5877 MB / 1.25 GB, free: 9.402 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches