Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001336/0.001336, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.53 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3238, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002498/0.3264, allocations: 1.329 MB / 1.053 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003092/0.3295, allocations: 2.507 MB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.3295, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.3295, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.603e-05/0.3296, allocations: 7.922 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.3302, allocations: 115.5 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.769e-05/0.3302, allocations: 35.84 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.998e-05/0.3303, allocations: 7.984 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.3303, allocations: 15.94 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.3304, allocations: 23.91 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.3304, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.3307, allocations: 111.8 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.3307, allocations: 3.984 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.3308, allocations: 19.92 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.331, allocations: 88 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.331, allocations: 4 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.331, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.331, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 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.0004254/0.3314, allocations: 347.6 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3315, allocations: 8.031 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.3317, allocations: 16.94 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3318, allocations: 168.3 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3319, allocations: 384 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.3319, allocations: 12.28 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3321, allocations: 80.31 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3321, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3321, allocations: 3.984 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3321, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.609e-05/0.3322, allocations: 19.92 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.3328, allocations: 470.9 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.333, allocations: 71.66 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.333, allocations: 26.7 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.333, allocations: 8 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3331, allocations: 34.5 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3331, allocations: 0 / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006542/0.3337, allocations: 302.5 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.3338, allocations: 114.8 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.3339, allocations: 101.8 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3339, allocations: 29.7 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.334, allocations: 84.05 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.334, allocations: 27.64 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.3341, allocations: 29.62 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3342, allocations: 322.8 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.3342, allocations: 16 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/0.3343, allocations: 49.14 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.564e-05/0.3344, allocations: 77.08 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3344, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001339/0.3345, allocations: 90.11 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3345, allocations: 9.406 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3346, allocations: 0 / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3346, allocations: 7.938 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.3347, allocations: 16 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3347, allocations: 0 / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.3347, allocations: 12.12 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3347, allocations: 4 kB / 1.059 GB, free: 1.684 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/0.3348, allocations: 125.7 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.3349, allocations: 7.938 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.3349, allocations: 15.5 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3349, allocations: 0 / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.335, allocations: 0 / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.335, allocations: 4 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.3353, allocations: 181.6 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3353, allocations: 4 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.3354, allocations: 15.98 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3354, allocations: 4 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3354, allocations: 0 / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3354, allocations: 0 / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3355, allocations: 4 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3357, allocations: 326 kB / 1.059 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.3358, allocations: 89.02 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3358, allocations: 4.062 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.336, allocations: 8.031 kB / 1.059 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.336, allocations: 4 kB / 1.059 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.336, allocations: 15.88 kB / 1.059 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.3361, allocations: 79.27 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3361, allocations: 0 / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000304/0.3364, allocations: 16 kB / 1.06 GB, free: 0.707 MB / 0.8106 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 (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.0001227/0.3365, allocations: 107.2 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.3366, allocations: 43.92 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3366, allocations: 0 / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.3367, allocations: 19.94 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3371, allocations: 10.75 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.3377, allocations: 361.9 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.338, allocations: 0.6809 MB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.488e-05/0.338, allocations: 8 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.338, allocations: 11.44 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.338, allocations: 0 / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.002751/0.3408, allocations: 0.6134 MB / 1.061 GB, free: 14.82 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches