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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001451/0.001451, allocations: 100.4 kB / 16.35 MB, free: 5.824 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.001683/0.001683, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.447/2.447, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 64.12 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2969, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002314/0.2992, allocations: 1.266 MB / 1.028 GB, free: 0.75 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002953/0.3022, allocations: 2.505 MB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.3023, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.3023, allocations: 3.938 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.3024, allocations: 7.922 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.303, allocations: 131.4 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/0.3031, allocations: 35.84 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.3031, allocations: 4 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.3031, allocations: 19.98 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.3032, allocations: 23.91 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.3032, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.3036, allocations: 115.8 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.3036, allocations: 11.97 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.3036, allocations: 11.94 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3038, allocations: 83.78 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3039, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3039, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.3039, allocations: 0 / 1.031 GB, free: 13.79 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.0004167/0.3043, allocations: 347.6 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3043, allocations: 12.03 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.3046, allocations: 16.92 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.3047, allocations: 168.2 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3047, allocations: 4.375 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.3047, allocations: 4.375 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3049, allocations: 88.23 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3049, allocations: 3.938 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3049, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3049, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.172e-05/0.305, allocations: 15.94 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.3055, allocations: 466.9 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.3057, allocations: 71.72 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.3057, allocations: 22.72 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.3057, allocations: 0 / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3057, allocations: 42.5 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3058, allocations: 4 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005858/0.3063, allocations: 298.5 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3064, allocations: 106.8 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.3065, allocations: 102 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3065, allocations: 33.7 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.3065, allocations: 88.05 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.3066, allocations: 23.64 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.3066, allocations: 29.62 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.3067, allocations: 322.8 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.3068, allocations: 12 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/0.3068, allocations: 57.14 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.448e-05/0.3069, allocations: 73.02 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3069, allocations: 0 / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001304/0.307, allocations: 97.55 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3071, allocations: 4 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3071, allocations: 0 / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3071, allocations: 4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.3072, allocations: 19.98 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3072, allocations: 4 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.3072, allocations: 8 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.3072, allocations: 8 kB / 1.033 GB, free: 10.93 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 0.0001315/0.3074, allocations: 129.8 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.3074, allocations: 7.906 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.3075, allocations: 7.562 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3075, allocations: 0 / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3075, allocations: 4 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3075, allocations: 0 / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.3078, allocations: 181.6 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3079, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.3079, allocations: 19.98 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.308, allocations: 0 / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.308, allocations: 0 / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.308, allocations: 8 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.308, allocations: 11.86 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.3082, allocations: 322 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.3083, allocations: 89.05 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3083, allocations: 4 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.3085, allocations: 4 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.3085, allocations: 4 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.3086, allocations: 15.92 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.3086, allocations: 79.66 kB / 1.034 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.39e-06/0.3086, allocations: 0 / 1.034 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003247/0.3089, allocations: 15.94 kB / 1.034 GB, free: 9.941 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.000128/0.3091, allocations: 103.4 kB / 1.034 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.3092, allocations: 47.91 kB / 1.034 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3092, allocations: 4 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.3092, allocations: 23.92 kB / 1.034 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.3097, allocations: 4 kB / 1.034 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.3103, allocations: 348.3 kB / 1.035 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3105, allocations: 0.6846 MB / 1.035 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.401e-05/0.3106, allocations: 7.984 kB / 1.035 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.3106, allocations: 15.44 kB / 1.035 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3106, allocations: 0 / 1.035 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of Templates: time 0.002996/0.3136, allocations: 0.6298 MB / 1.036 GB, free: 8.055 MB / 0.8106 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 -s gbode -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/jenkins1/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