Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001106/0.001106, allocations: 112.6 kB / 16.37 MB, free: 6 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.001089/0.00109, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 60.78 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3341, allocations: 151.7 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006006/0.3402, allocations: 4.048 MB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002928/0.3431, allocations: 2.434 MB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.3433, allocations: 0 / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.3435, allocations: 47.67 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.3439, allocations: 107.3 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.3452, allocations: 0.5116 MB / 1.026 GB, free: 2.66 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.3455, allocations: 259.9 kB / 1.026 GB, free: 2.406 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.3456, allocations: 13.55 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.3458, allocations: 119.5 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.346, allocations: 95.66 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.346, allocations: 8 kB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008118/0.3468, allocations: 455.3 kB / 1.027 GB, free: 1.723 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.3469, allocations: 39.83 kB / 1.027 GB, free: 1.684 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.625e-05/0.347, allocations: 87.59 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.3476, allocations: 403 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3476, allocations: 0 / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of FrontEnd: time 8.61e-07/0.3476, allocations: 0 / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3477, allocations: 0 / 1.027 GB, free: 1.203 MB / 0.795 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.0009147/0.3486, allocations: 0.5071 MB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.3486, allocations: 8.922 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.3506, allocations: 180.5 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.351, allocations: 208.1 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.351, allocations: 12.7 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.351, allocations: 12.38 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/0.3517, allocations: 316.3 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3517, allocations: 0 / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.3517, allocations: 12 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.3518, allocations: 4 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006722/0.3524, allocations: 259.6 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.3542, allocations: 1.4 MB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.3548, allocations: 191.2 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.355, allocations: 80.81 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.3551, allocations: 3.938 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3551, allocations: 38.5 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.3551, allocations: 0 / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0007677/0.3559, allocations: 251.8 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.356, allocations: 51.41 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3562, allocations: 153.1 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.3562, allocations: 33.7 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3564, allocations: 128 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.3564, allocations: 63.08 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.3566, allocations: 53.84 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002663/0.3569, allocations: 334.8 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.3571, allocations: 56.42 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.3574, allocations: 150.2 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.3578, allocations: 213.2 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3578, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005674/0.3584, allocations: 259.5 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3584, allocations: 4 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3584, allocations: 4 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3584, allocations: 4 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.3588, allocations: 68.2 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3588, allocations: 11.92 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.359, allocations: 27.83 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.3591, allocations: 8 kB / 1.032 GB, free: 11.78 MB / 0.8106 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 0.0001205/0.3592, allocations: 137.6 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.3593, allocations: 15.81 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/0.3599, allocations: 228.5 kB / 1.032 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3599, allocations: 11.98 kB / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3599, allocations: 0 / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3599, allocations: 0 / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.3602, allocations: 249.4 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3603, allocations: 0 / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.3606, allocations: 47.97 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3606, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.3606, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3606, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3606, allocations: 8 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.3612, allocations: 299.1 kB / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3613, allocations: 100.9 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.3614, allocations: 8 kB / 1.033 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.3616, allocations: 19.98 kB / 1.033 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.3617, allocations: 7.984 kB / 1.033 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.3617, allocations: 15.98 kB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.617e-05/0.3618, allocations: 117.6 kB / 1.033 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3618, allocations: 0 / 1.033 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003926/0.3622, allocations: 64.12 kB / 1.033 GB, free: 10.38 MB / 0.8106 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.0002244/0.3624, allocations: 143.1 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.3629, allocations: 182.1 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.363, allocations: 11.94 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.3632, allocations: 83.88 kB / 1.034 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3636, allocations: 65.2 kB / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.3646, allocations: 400.3 kB / 1.034 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.3649, allocations: 0.7134 MB / 1.035 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002355/0.3651, allocations: 53.92 kB / 1.035 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.3652, allocations: 27.42 kB / 1.035 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3652, allocations: 0 / 1.035 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of Templates: time 0.007367/0.3726, allocations: 3.404 MB / 1.038 GB, free: 5.316 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches