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.0007709/0.0007709, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007328/0.007328, allocations: 170.2 kB / 16.26 MB, free: 6.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.363/1.363, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.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.415/2.415, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6592, allocations: 142.4 MB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001139/0.6604, allocations: 0.9962 MB / 0.956 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.6627, allocations: 2.467 MB / 0.9584 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.6627, allocations: 1.094 kB / 0.9584 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.6627, allocations: 0 / 0.9584 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.6628, allocations: 8.859 kB / 0.9584 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.6632, allocations: 116.6 kB / 0.9585 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.6633, allocations: 28.98 kB / 0.9586 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.893e-05/0.6633, allocations: 2.531 kB / 0.9586 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.99e-05/0.6633, allocations: 33.94 kB / 0.9586 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.066e-05/0.6634, allocations: 18.52 kB / 0.9586 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.6634, allocations: 1.844 kB / 0.9586 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.6637, allocations: 107.9 kB / 0.9587 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.6637, allocations: 9.547 kB / 0.9587 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.6637, allocations: 40.91 kB / 0.9588 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.6639, allocations: 83.59 kB / 0.9588 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6639, allocations: 0 / 0.9588 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6639, allocations: 0 / 0.9588 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.6639, allocations: 1.125 kB / 0.9588 GB, free: 4.625 MB / 0.7169 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.0003236/0.6642, allocations: 347.9 kB / 0.9592 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.6643, allocations: 8.531 kB / 0.9592 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.6645, allocations: 18.72 kB / 0.9592 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.536e-05/0.6646, allocations: 164.4 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.6646, allocations: 3.094 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.6646, allocations: 4.188 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.6648, allocations: 81.06 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.6648, allocations: 0 / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.6648, allocations: 1.812 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6648, allocations: 0 / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.149e-05/0.6649, allocations: 15.31 kB / 0.9595 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.6654, allocations: 479.5 kB / 0.9599 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.6655, allocations: 74 kB / 0.96 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.6655, allocations: 24.09 kB / 0.96 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.6655, allocations: 4.094 kB / 0.96 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.6656, allocations: 40.7 kB / 0.9601 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.6656, allocations: 0 / 0.9601 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005193/0.6661, allocations: 303.2 kB / 0.9603 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.6661, allocations: 112.1 kB / 0.9605 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.414e-05/0.6662, allocations: 98.23 kB / 0.9605 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.6662, allocations: 31.08 kB / 0.9606 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.6662, allocations: 84.05 kB / 0.9607 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.6663, allocations: 27.77 kB / 0.9607 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.6663, allocations: 20.41 kB / 0.9607 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.6663, allocations: 324.1 kB / 0.961 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.6664, allocations: 8.25 kB / 0.961 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.6664, allocations: 57.52 kB / 0.9611 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.6665, allocations: 69.7 kB / 0.9611 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6665, allocations: 5.312 kB / 0.9611 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001117/0.6666, allocations: 98.58 kB / 0.9612 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.6666, allocations: 7.062 kB / 0.9612 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6666, allocations: 1.375 kB / 0.9612 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.6666, allocations: 1.375 kB / 0.9612 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.6667, allocations: 21.88 kB / 0.9613 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.6667, allocations: 9.344 kB / 0.9613 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.6668, allocations: 2.75 kB / 0.9613 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.6668, allocations: 2.75 kB / 0.9613 GB, free: 2.051 MB / 0.7169 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 5.546e-05/0.6668, allocations: 126 kB / 0.9614 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.6669, allocations: 2.75 kB / 0.9614 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.6669, allocations: 8.938 kB / 0.9614 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6669, allocations: 1.984 kB / 0.9614 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6669, allocations: 1.375 kB / 0.9614 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6669, allocations: 1.375 kB / 0.9614 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.6672, allocations: 182 kB / 0.9616 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.6672, allocations: 5.312 kB / 0.9616 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.6673, allocations: 16.36 kB / 0.9616 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6673, allocations: 1.375 kB / 0.9616 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.6673, allocations: 5.375 kB / 0.9616 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6673, allocations: 1.375 kB / 0.9616 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6673, allocations: 5.359 kB / 0.9616 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.6675, allocations: 336.1 kB / 0.9619 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.6675, allocations: 81.23 kB / 0.962 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.6676, allocations: 5.406 kB / 0.962 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.6677, allocations: 10.75 kB / 0.962 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.6677, allocations: 10.75 kB / 0.962 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.6678, allocations: 6.688 kB / 0.9621 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.898e-05/0.6678, allocations: 82.02 kB / 0.9621 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6678, allocations: 0 / 0.9621 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002971/0.6681, allocations: 13.62 kB / 0.9621 GB, free: 1.172 MB / 0.7169 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 9.653e-05/0.6682, allocations: 111.2 kB / 0.9623 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.6683, allocations: 43.42 kB / 0.9623 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6683, allocations: 0 / 0.9623 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/0.6683, allocations: 24.3 kB / 0.9623 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.6687, allocations: 4.125 kB / 0.9623 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.6692, allocations: 408.7 kB / 0.9627 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.6694, allocations: 0.6826 MB / 0.9634 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.608e-05/0.6694, allocations: 15.17 kB / 0.9634 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.6695, allocations: 11.34 kB / 0.9634 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.6695, allocations: 0 / 0.9634 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of Templates: time 0.00282/0.6723, allocations: 0.6082 MB / 0.964 GB, free: 15.69 MB / 0.7325 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