Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008591/0.008591, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.002031/0.002031, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 67.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3686, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003159/0.3717, allocations: 1.264 MB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003737/0.3755, allocations: 2.501 MB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.3755, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.3755, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.092e-05/0.3756, allocations: 3.938 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007438/0.3763, allocations: 135.4 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.3764, allocations: 51.77 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.3765, allocations: 0 / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.3765, allocations: 19.98 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.3766, allocations: 15.92 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3766, allocations: 4 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.377, allocations: 111.8 kB / 1.225 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.377, allocations: 7.984 kB / 1.225 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.3771, allocations: 19.92 kB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.3773, allocations: 79.72 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3773, allocations: 0 / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3773, allocations: 4 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.3773, allocations: 0 / 1.225 GB, free: 9.598 MB / 0.9825 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.0004915/0.3778, allocations: 355.3 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3779, allocations: 8.031 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.3781, allocations: 12.94 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3782, allocations: 176.3 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3783, allocations: 4.375 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.3783, allocations: 4.375 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3785, allocations: 80.31 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3785, allocations: 3.984 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3785, allocations: 4 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3785, allocations: 0 / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.822e-05/0.3785, allocations: 8 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000674/0.3792, allocations: 474.9 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.3794, allocations: 75.72 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.3794, allocations: 22.58 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3794, allocations: 4 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3794, allocations: 38.64 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.3794, allocations: 4 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007136/0.3802, allocations: 298.2 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.3802, allocations: 115 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.3803, allocations: 97.84 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3803, allocations: 29.7 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.3804, allocations: 88.09 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.3804, allocations: 27.73 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.3804, allocations: 25.72 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3806, allocations: 322.8 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.339e-05/0.3806, allocations: 12 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.3807, allocations: 53.14 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.3808, allocations: 81.58 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3808, allocations: 0 / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001582/0.3809, allocations: 101.4 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3809, allocations: 6.188 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3809, allocations: 0 / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.381, allocations: 4 kB / 1.227 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.381, allocations: 16 kB / 1.227 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3811, allocations: 4 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.3811, allocations: 4 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3811, allocations: 12.11 kB / 1.227 GB, free: 6.719 MB / 0.9825 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.203e-05/0.3812, allocations: 122.2 kB / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.3813, allocations: 4 kB / 1.227 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.3813, allocations: 7.562 kB / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3813, allocations: 0 / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3813, allocations: 4 kB / 1.227 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3813, allocations: 3.938 kB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.3817, allocations: 181.5 kB / 1.227 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3817, allocations: 0 / 1.227 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.3818, allocations: 27.92 kB / 1.227 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3818, allocations: 64 / 1.227 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3818, allocations: 8 kB / 1.227 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.3818, allocations: 4 kB / 1.227 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3818, allocations: 0 / 1.227 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.382, allocations: 326 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.3821, allocations: 85.06 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3821, allocations: 8.047 kB / 1.228 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.3823, allocations: 3.984 kB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.3823, allocations: 4 kB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3823, allocations: 7.938 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.606e-05/0.3824, allocations: 87.27 kB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 0 / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003231/0.3827, allocations: 8 kB / 1.228 GB, free: 5.754 MB / 0.9825 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.0001491/0.3828, allocations: 121.5 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.383, allocations: 39.92 kB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.383, allocations: 0 / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.383, allocations: 19.92 kB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.3835, allocations: 8.516 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.3842, allocations: 351.7 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3845, allocations: 0.6846 MB / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.276e-05/0.3845, allocations: 11.98 kB / 1.229 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.3845, allocations: 11.44 kB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of SimCode: time 7.31e-07/0.3845, allocations: 0 / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of Templates: time 0.003614/0.3882, allocations: 0.6477 MB / 1.23 GB, free: 3.84 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches