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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.004971/0.004971, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001059/0.001059, allocations: 195.4 kB / 16.67 MB, free: 5.93 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.89 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9205/0.9217, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002632/0.9244, allocations: 1.264 MB / 1.209 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003531/0.9279, allocations: 2.495 MB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.928, allocations: 0 / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.928, allocations: 0 / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.9281, allocations: 7.922 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.9288, allocations: 127.4 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.9289, allocations: 47.78 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.9289, allocations: 3.984 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.838e-05/0.929, allocations: 8 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.9291, allocations: 23.91 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.9291, allocations: 4 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.9295, allocations: 111.8 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.9295, allocations: 11.98 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.9295, allocations: 15.92 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.9298, allocations: 95.52 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9298, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9298, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.9298, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 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.0005622/0.9304, allocations: 349.4 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.9304, allocations: 8.031 kB / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.9307, allocations: 16.83 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.9308, allocations: 168.4 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.9309, allocations: 4.375 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.9309, allocations: 8.375 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.9311, allocations: 76.31 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.9311, allocations: 0 / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.9311, allocations: 0 / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.9311, allocations: 4 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.9311, allocations: 7.984 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.9318, allocations: 478.7 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.932, allocations: 75.72 kB / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.932, allocations: 22.64 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.932, allocations: 3.938 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.9321, allocations: 38.55 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.9321, allocations: 0 / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006689/0.9327, allocations: 306.5 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.9328, allocations: 106.8 kB / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.9329, allocations: 105.8 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.9329, allocations: 29.7 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.933, allocations: 84.05 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.933, allocations: 31.55 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.933, allocations: 25.72 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.9331, allocations: 322.8 kB / 1.214 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.9332, allocations: 11.98 kB / 1.214 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.385e-05/0.9332, allocations: 53.14 kB / 1.214 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.9333, allocations: 69.09 kB / 1.214 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.9333, allocations: 0 / 1.214 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001257/0.9335, allocations: 93.55 kB / 1.214 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.9335, allocations: 7.938 kB / 1.214 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.9335, allocations: 4 kB / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.9335, allocations: 0 / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.9336, allocations: 28.11 kB / 1.214 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.9336, allocations: 4 kB / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.9336, allocations: 0 / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.9337, allocations: 4 kB / 1.214 GB, free: 6.562 MB / 0.9356 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.165e-05/0.9338, allocations: 125.7 kB / 1.214 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.9338, allocations: 11.89 kB / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.9339, allocations: 7.562 kB / 1.214 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.9339, allocations: 4 kB / 1.214 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9339, allocations: 0 / 1.214 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.9339, allocations: 4.609 kB / 1.214 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.9342, allocations: 185.5 kB / 1.215 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9342, allocations: 0 / 1.215 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.9343, allocations: 19.98 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9343, allocations: 0 / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.9344, allocations: 4 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9344, allocations: 0 / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9344, allocations: 3.984 kB / 1.215 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.9346, allocations: 337.9 kB / 1.215 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.9347, allocations: 85.09 kB / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.9347, allocations: 0 / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.9349, allocations: 4 kB / 1.215 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.9349, allocations: 7.984 kB / 1.215 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.9349, allocations: 12 kB / 1.215 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.898e-05/0.935, allocations: 79.28 kB / 1.215 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.935, allocations: 4 kB / 1.215 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003921/0.9354, allocations: 12 kB / 1.215 GB, free: 5.578 MB / 0.9356 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.0001375/0.9355, allocations: 115.1 kB / 1.215 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.9357, allocations: 43.92 kB / 1.215 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9357, allocations: 0 / 1.215 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.9357, allocations: 20.31 kB / 1.215 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.9362, allocations: 18.17 kB / 1.215 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.9368, allocations: 332.2 kB / 1.216 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.937, allocations: 0.6846 MB / 1.216 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.642e-05/0.9371, allocations: 8 kB / 1.216 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.9371, allocations: 11.44 kB / 1.216 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of SimCode: time 1.9e-07/0.9371, allocations: 0 / 1.216 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of Templates: time 0.0032/0.9403, allocations: 0.647 MB / 1.217 GB, free: 3.676 MB / 0.9356 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=480 -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/jenkins/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