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.001165/0.001165, allocations: 105.1 kB / 16.41 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.00119/0.00119, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.206/2.206, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8405/0.842, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002152/0.8442, allocations: 1.255 MB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002732/0.8469, allocations: 2.491 MB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.847, allocations: 0 / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.847, allocations: 8.625 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.8471, allocations: 1.609 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.8476, allocations: 132.2 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.4e-05/0.8477, allocations: 41.62 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.8478, allocations: 6.969 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.8478, allocations: 21.22 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.8479, allocations: 9.734 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.8479, allocations: 5.703 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.8482, allocations: 116.2 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.8483, allocations: 15.77 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.8483, allocations: 12.39 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.8485, allocations: 81.33 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8485, allocations: 1.297 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8485, allocations: 4 kB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.8485, allocations: 0 / 1.093 GB, free: 2.641 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.0003281/0.8489, allocations: 350.8 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.8489, allocations: 9.25 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.8491, allocations: 13.2 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/0.8492, allocations: 165.7 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.8492, allocations: 1.938 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.8492, allocations: 8.734 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.8494, allocations: 83.95 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.8494, allocations: 0.75 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.8494, allocations: 1.375 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8494, allocations: 0.7188 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.8495, allocations: 12.44 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.8499, allocations: 474.5 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.8501, allocations: 70.41 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.8501, allocations: 24 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.8501, allocations: 9.609 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.8502, allocations: 36.64 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.8502, allocations: 0.8125 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000558/0.8507, allocations: 301.3 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.8508, allocations: 109.7 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.867e-05/0.8508, allocations: 100.4 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.8508, allocations: 26.77 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.8509, allocations: 89.77 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.8509, allocations: 29.44 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.8509, allocations: 22.98 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.851, allocations: 322.3 kB / 1.095 GB, free: 364 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.148e-05/0.851, allocations: 13.52 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-05/0.8511, allocations: 59.83 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.951e-05/0.8512, allocations: 81.59 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.8512, allocations: 1.219 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001275/0.8513, allocations: 93.83 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8513, allocations: 5.688 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8513, allocations: 1.453 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.8514, allocations: 3.188 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.8514, allocations: 18.97 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.8515, allocations: 2.188 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.8515, allocations: 1.75 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.8515, allocations: 8.578 kB / 1.095 GB, free: 160 kB / 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 6.821e-05/0.8516, allocations: 126.2 kB / 1.095 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.8517, allocations: 11.06 kB / 1.095 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.8517, allocations: 9.844 kB / 1.095 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.8517, allocations: 2.031 kB / 1.095 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8517, allocations: 2.125 kB / 1.095 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8517, allocations: 0.5625 kB / 1.095 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.8521, allocations: 178.4 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8521, allocations: 4.75 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.915e-05/0.8522, allocations: 16.31 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8522, allocations: 0.75 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.8522, allocations: 2.328 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.8522, allocations: 1.438 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8522, allocations: 4.719 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.8525, allocations: 332.3 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.8525, allocations: 86.28 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.8526, allocations: 2.328 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.8527, allocations: 7.047 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.8528, allocations: 4.656 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.8528, allocations: 7.453 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.8528, allocations: 79.31 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8528, allocations: 3.938 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003175/0.8532, allocations: 15.06 kB / 1.096 GB, free: 15.31 MB / 0.8731 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.0001884/0.8534, allocations: 110.3 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.8535, allocations: 39.27 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8535, allocations: 0.875 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/0.8535, allocations: 30.06 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.854, allocations: 10.09 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.8546, allocations: 365.4 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.8549, allocations: 0.6872 MB / 1.097 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.855, allocations: 15.66 kB / 1.097 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.855, allocations: 0 / 1.097 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.002563/0.8575, allocations: 0.7925 MB / 1.098 GB, free: 14.1 MB / 0.8731 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/jenkins1/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