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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001325/0.001325, allocations: 106.3 kB / 16.27 MB, free: 6.41 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.001277/0.001277, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.713/2.713, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 69 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.7, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002124/0.7021, allocations: 1.267 MB / 1.084 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003196/0.7054, allocations: 2.486 MB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.7054, allocations: 1.312 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.7054, allocations: 4.922 kB / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.7055, allocations: 6.391 kB / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.706, allocations: 138 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.7061, allocations: 30.03 kB / 1.087 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.7062, allocations: 3.516 kB / 1.087 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.7062, allocations: 19.27 kB / 1.087 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.7063, allocations: 18.06 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.7063, allocations: 2.344 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.7066, allocations: 115.7 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.7066, allocations: 8.172 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.7067, allocations: 16.58 kB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.7069, allocations: 83.84 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7069, allocations: 4.703 kB / 1.087 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7069, allocations: 0 / 1.087 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.7069, allocations: 0 / 1.087 GB, free: 14.78 MB / 0.8419 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.0004447/0.7074, allocations: 356.7 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.7074, allocations: 9.062 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.7076, allocations: 21.08 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.7077, allocations: 162.2 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.7078, allocations: 6.531 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.7078, allocations: 4.531 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.7079, allocations: 79.78 kB / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.708, allocations: 4.781 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.708, allocations: 1.094 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.708, allocations: 1.188 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.708, allocations: 16.33 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.7087, allocations: 470.1 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.7088, allocations: 76.98 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.7089, allocations: 22.3 kB / 1.088 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.792e-06/0.7089, allocations: 4 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.7089, allocations: 41.55 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.7089, allocations: 0 / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006268/0.7095, allocations: 294.4 kB / 1.089 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.7096, allocations: 108.3 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/0.7097, allocations: 100.1 kB / 1.089 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.7097, allocations: 26.89 kB / 1.089 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.7098, allocations: 90.16 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.7098, allocations: 33.33 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.7099, allocations: 23.64 kB / 1.089 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.71, allocations: 321.6 kB / 1.089 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.7101, allocations: 19 kB / 1.089 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.7101, allocations: 47.12 kB / 1.089 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.7102, allocations: 77.86 kB / 1.089 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.7102, allocations: 1.156 kB / 1.089 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001514/0.7104, allocations: 97.92 kB / 1.089 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.7104, allocations: 5.125 kB / 1.089 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7104, allocations: 2.953 kB / 1.089 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.7104, allocations: 2.094 kB / 1.089 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.7105, allocations: 18.42 kB / 1.089 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7105, allocations: 6.125 kB / 1.089 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.7106, allocations: 7.5 kB / 1.089 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.7106, allocations: 11.22 kB / 1.089 GB, free: 12.28 MB / 0.8419 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 8.753e-05/0.7107, allocations: 118.5 kB / 1.09 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.7108, allocations: 7.531 kB / 1.09 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.7108, allocations: 9.344 kB / 1.09 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.7108, allocations: 2.281 kB / 1.09 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7108, allocations: 64 / 1.09 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.7108, allocations: 6.359 kB / 1.09 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.7112, allocations: 178.7 kB / 1.09 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7112, allocations: 4 kB / 1.09 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.7113, allocations: 16.45 kB / 1.09 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.7113, allocations: 1.25 kB / 1.09 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7113, allocations: 10.03 kB / 1.09 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7113, allocations: 1.375 kB / 1.09 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7113, allocations: 0 / 1.09 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.7116, allocations: 332.2 kB / 1.09 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.7117, allocations: 82.47 kB / 1.09 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.7117, allocations: 10.38 kB / 1.09 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.7119, allocations: 3.609 kB / 1.09 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.7119, allocations: 8.25 kB / 1.09 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.7119, allocations: 7.453 kB / 1.09 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.712, allocations: 82.72 kB / 1.09 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.712, allocations: 0 / 1.09 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003134/0.7123, allocations: 11.22 kB / 1.09 GB, free: 11.45 MB / 0.8419 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.0001411/0.7125, allocations: 114.8 kB / 1.09 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.7126, allocations: 44.22 kB / 1.09 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7126, allocations: 0 / 1.09 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.993e-05/0.7126, allocations: 18.28 kB / 1.09 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.713, allocations: 12.2 kB / 1.09 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.7137, allocations: 370 kB / 1.091 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.7141, allocations: 0.6836 MB / 1.092 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.7141, allocations: 11.59 kB / 1.092 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.7141, allocations: 3.938 kB / 1.092 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.002463/0.7166, allocations: 0.7848 MB / 1.092 GB, free: 10.24 MB / 0.8419 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=400 -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