Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001768/0.001768, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001986/0.001986, allocations: 198.3 kB / 16.14 MB, free: 6.797 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.564/1.564, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.883/2.883, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 59.91 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.8712, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002759/0.874, allocations: 1.33 MB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00365/0.8777, allocations: 2.499 MB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.8777, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.8778, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.8779, allocations: 7.938 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.8784, allocations: 111.5 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.8785, allocations: 35.86 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.8785, allocations: 3.984 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.152e-05/0.8786, allocations: 15.98 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.8786, allocations: 27.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.8787, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.879, allocations: 115.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.879, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.8791, allocations: 23.91 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.8793, allocations: 81.81 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8793, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8793, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.8793, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 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.000468/0.8798, allocations: 347.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8799, allocations: 16.03 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.8801, allocations: 16.88 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.8802, allocations: 160.4 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.8802, allocations: 4.375 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.8803, allocations: 12.27 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.8804, allocations: 72.38 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.8804, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.8805, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.8805, allocations: 4 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.441e-05/0.8805, allocations: 15.92 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.8812, allocations: 474.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.8813, allocations: 75.66 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.8814, allocations: 30.64 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.8814, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.8814, allocations: 30.56 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.8814, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006557/0.8821, allocations: 302.2 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.8822, allocations: 106.8 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.8823, allocations: 101.8 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.8823, allocations: 25.7 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.8824, allocations: 92.22 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.8824, allocations: 31.64 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.8824, allocations: 25.72 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.8826, allocations: 322.8 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.8827, allocations: 12 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.8828, allocations: 53.14 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.8829, allocations: 69.09 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.8829, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002334/0.8831, allocations: 93.97 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.8832, allocations: 9.688 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8832, allocations: 7.984 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.8832, allocations: 4.094 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.8833, allocations: 31.86 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.8833, allocations: 0 / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.8834, allocations: 4 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.8834, allocations: 4 kB / 1.023 GB, free: 11.59 MB / 0.7794 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.0001198/0.8836, allocations: 121.8 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/0.8836, allocations: 3.906 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.8837, allocations: 15.56 kB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.8837, allocations: 3.938 kB / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8837, allocations: 0 / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.8837, allocations: 7.938 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.8841, allocations: 181.5 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8841, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.764e-05/0.8842, allocations: 15.98 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8842, allocations: 4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.8842, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8842, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8842, allocations: 4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.8845, allocations: 334 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.8846, allocations: 85.08 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.8846, allocations: 8 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.8848, allocations: 4.031 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.8848, allocations: 4 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.8848, allocations: 15.94 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.8849, allocations: 75.28 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8849, allocations: 0 / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003167/0.8852, allocations: 16 kB / 1.024 GB, free: 10.62 MB / 0.7794 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.0001643/0.8854, allocations: 107.8 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.8855, allocations: 44.05 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8855, allocations: 4.062 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.8856, allocations: 16 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.886, allocations: 14.02 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.8868, allocations: 354.1 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.8872, allocations: 0.6888 MB / 1.025 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.247e-05/0.8872, allocations: 0 / 1.025 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.8872, allocations: 11.44 kB / 1.025 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8873, allocations: 0 / 1.025 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of Templates: time 0.003495/0.8908, allocations: 0.6266 MB / 1.026 GB, free: 8.73 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches