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.006014/0.006014, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001162/0.001162, allocations: 191.7 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.618/2.618, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 65.36 kB / 0.9508 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3478, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00211/0.3499, allocations: 1.263 MB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002903/0.3529, allocations: 2.501 MB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.3529, allocations: 0 / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.3529, allocations: 11.92 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.036e-05/0.353, allocations: 0 / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.3535, allocations: 131.3 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.3536, allocations: 35.86 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 2.934e-05/0.3536, allocations: 4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.3536, allocations: 23.97 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.3537, allocations: 15.92 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.3537, allocations: 8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.354, allocations: 119.7 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.354, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.3541, allocations: 19.92 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.3542, allocations: 79.78 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3543, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.72e-07/0.3543, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3543, allocations: 0 / 1.092 GB, free: 13.3 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.0003685/0.3546, allocations: 351.5 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3547, allocations: 12.03 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.3549, allocations: 16.92 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.355, allocations: 168.3 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.355, allocations: 384 / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.355, allocations: 4.375 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.3552, allocations: 76.31 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3552, allocations: 3.938 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3552, allocations: 8 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3552, allocations: 4 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.3553, allocations: 11.92 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.3558, allocations: 462.9 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.356, allocations: 71.73 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.356, allocations: 22.72 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.356, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3561, allocations: 46.44 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3561, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005787/0.3566, allocations: 310.3 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3567, allocations: 102.8 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.3568, allocations: 97.89 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3568, allocations: 33.7 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.3569, allocations: 92.28 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3569, allocations: 27.56 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.3569, allocations: 29.7 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3571, allocations: 314.8 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.3571, allocations: 15.98 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.3571, allocations: 53.14 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.3572, allocations: 73.03 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3572, allocations: 4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001209/0.3574, allocations: 89.55 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3574, allocations: 10.16 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3574, allocations: 4 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3574, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.3575, allocations: 19.98 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3575, allocations: 8 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.3576, allocations: 8 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3576, allocations: 7.938 kB / 1.094 GB, free: 10.43 MB / 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 7.987e-05/0.3577, allocations: 117.8 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.3577, allocations: 7.906 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.3578, allocations: 15.55 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3578, allocations: 4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3578, allocations: 0 / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3578, allocations: 0 / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.3581, allocations: 177.6 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3581, allocations: 4 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.082e-05/0.3582, allocations: 12 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3582, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3582, allocations: 4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3582, allocations: 11.91 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3582, allocations: 4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.3585, allocations: 326 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.3586, allocations: 89.05 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3586, allocations: 0 / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3588, allocations: 4 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.3588, allocations: 11.92 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.3588, allocations: 15.88 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.3589, allocations: 79.66 kB / 1.095 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3589, allocations: 0 / 1.095 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003087/0.3592, allocations: 16 kB / 1.095 GB, free: 9.453 MB / 0.8575 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.0001317/0.3593, allocations: 103.4 kB / 1.095 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.3594, allocations: 51.91 kB / 1.095 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3595, allocations: 0 / 1.095 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.3595, allocations: 19.94 kB / 1.095 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3599, allocations: 4 kB / 1.095 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.3605, allocations: 344.3 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.3608, allocations: 0.6923 MB / 1.096 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.193e-05/0.3609, allocations: 4 kB / 1.096 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.3609, allocations: 11.44 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3609, allocations: 4 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.002896/0.3638, allocations: 0.6482 MB / 1.097 GB, free: 7.551 MB / 0.8575 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