Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_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_9_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.004857/0.004857, allocations: 99 kB / 15.73 MB, free: 6.008 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.001179/0.001179, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9698/0.9712, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002329/0.9736, allocations: 1.274 MB / 1.089 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003037/0.9766, allocations: 2.477 MB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.9767, allocations: 0 / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.9767, allocations: 5.859 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.432e-05/0.9768, allocations: 5.484 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.9774, allocations: 140.8 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.9775, allocations: 38.42 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.9775, allocations: 3.188 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.9776, allocations: 24 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.9777, allocations: 18.42 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.9777, allocations: 1.562 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.9781, allocations: 116.4 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.9781, allocations: 12.16 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.9782, allocations: 12.44 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.9785, allocations: 81.31 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9785, allocations: 0 / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9785, allocations: 0.7188 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9785, allocations: 0 / 1.092 GB, free: 2.645 MB / 0.8575 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.0004136/0.9789, allocations: 361.2 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.979, allocations: 9.438 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.9792, allocations: 21.17 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.845e-05/0.9793, allocations: 161.9 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.9793, allocations: 6.5 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.9794, allocations: 4.156 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.9795, allocations: 80.48 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.9795, allocations: 0 / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.9795, allocations: 1.312 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9796, allocations: 1.438 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.9796, allocations: 16.89 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.9801, allocations: 469.8 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.9803, allocations: 74.66 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.9803, allocations: 20.67 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.9803, allocations: 0 / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.9803, allocations: 49.98 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.9803, allocations: 0 / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006039/0.981, allocations: 301.2 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.981, allocations: 105.6 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.9811, allocations: 103.7 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.9811, allocations: 31.48 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.9811, allocations: 86.27 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.9811, allocations: 29 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.9812, allocations: 27.55 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.9812, allocations: 321.4 kB / 1.094 GB, free: 348 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.9813, allocations: 14.14 kB / 1.094 GB, free: 344 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.63e-05/0.9813, allocations: 57.7 kB / 1.094 GB, free: 284 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.9814, allocations: 71.75 kB / 1.094 GB, free: 216 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9814, allocations: 1.344 kB / 1.094 GB, free: 216 kB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001335/0.9816, allocations: 97.67 kB / 1.094 GB, free: 156 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.9816, allocations: 6.156 kB / 1.094 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9816, allocations: 1.5 kB / 1.094 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9816, allocations: 3.016 kB / 1.094 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.9817, allocations: 18.38 kB / 1.094 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.9817, allocations: 6.406 kB / 1.094 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.9818, allocations: 2.172 kB / 1.094 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.9818, allocations: 9.234 kB / 1.094 GB, free: 148 kB / 0.8575 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 6.413e-05/0.9819, allocations: 121.7 kB / 1.095 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.9819, allocations: 7.016 kB / 1.095 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.982, allocations: 9.859 kB / 1.095 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.982, allocations: 1.594 kB / 1.095 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.982, allocations: 1.578 kB / 1.095 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.982, allocations: 5.391 kB / 1.095 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.9824, allocations: 173.7 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.9824, allocations: 5.609 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.9825, allocations: 16 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.9825, allocations: 1.719 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.9825, allocations: 8.938 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9825, allocations: 5.672 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9826, allocations: 1.375 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.9828, allocations: 327.2 kB / 1.095 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.9829, allocations: 82.72 kB / 1.095 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.9829, allocations: 10.45 kB / 1.095 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.9831, allocations: 8.078 kB / 1.095 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.9831, allocations: 8.328 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.9832, allocations: 7.766 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.9832, allocations: 81.73 kB / 1.095 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9832, allocations: 0.7812 kB / 1.095 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003088/0.9835, allocations: 9.781 kB / 1.095 GB, free: 15.3 MB / 0.8731 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.0001585/0.9837, allocations: 115.2 kB / 1.095 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.9838, allocations: 44.14 kB / 1.095 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9838, allocations: 0 / 1.095 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.9839, allocations: 21.67 kB / 1.095 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.9843, allocations: 10.95 kB / 1.095 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/0.9852, allocations: 343 kB / 1.096 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.9856, allocations: 0.6828 MB / 1.096 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.063e-05/0.9857, allocations: 13.36 kB / 1.096 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.9857, allocations: 11.38 kB / 1.097 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.9857, allocations: 0 / 1.097 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of Templates: time 0.003618/0.9894, allocations: 0.6525 MB / 1.097 GB, free: 14.11 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches