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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001463/0.001463, allocations: 106.5 kB / 16.35 MB, free: 5.875 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.001723/0.001723, allocations: 197.5 kB / 17.3 MB, free: 5.516 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 64.98 kB / 0.814 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2519, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002592/0.2546, allocations: 1.262 MB / 0.9523 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003067/0.2577, allocations: 2.501 MB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.2577, allocations: 4 kB / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.2577, allocations: 0 / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.2579, allocations: 3.938 kB / 0.9548 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.2585, allocations: 123.4 kB / 0.9549 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.923e-05/0.2586, allocations: 43.84 kB / 0.955 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.2586, allocations: 3.984 kB / 0.955 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.345e-05/0.2587, allocations: 19.94 kB / 0.955 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.344e-05/0.2588, allocations: 19.91 kB / 0.955 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2588, allocations: 7.938 kB / 0.955 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.2591, allocations: 111.8 kB / 0.9551 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.2591, allocations: 11.98 kB / 0.9551 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.2592, allocations: 15.92 kB / 0.9551 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.2594, allocations: 87.72 kB / 0.9552 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2594, allocations: 0 / 0.9552 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2594, allocations: 0 / 0.9552 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2594, allocations: 0 / 0.9552 GB, free: 3.809 MB / 0.7325 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.0003914/0.2598, allocations: 355.5 kB / 0.9556 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2599, allocations: 8.031 kB / 0.9556 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.2601, allocations: 16.91 kB / 0.9556 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.706e-05/0.2602, allocations: 164.3 kB / 0.9557 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.2602, allocations: 8.359 kB / 0.9558 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.2603, allocations: 12.28 kB / 0.9558 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.2604, allocations: 80.3 kB / 0.9558 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2604, allocations: 4 kB / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2604, allocations: 0 / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2604, allocations: 4 kB / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.2605, allocations: 7.984 kB / 0.9559 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.2611, allocations: 466.9 kB / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.2612, allocations: 75.81 kB / 0.9564 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.2612, allocations: 22.64 kB / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2613, allocations: 0 / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2613, allocations: 38.56 kB / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.2613, allocations: 0 / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006038/0.2619, allocations: 302.1 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.262, allocations: 106.8 kB / 0.9568 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.2621, allocations: 105.8 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.2621, allocations: 29.95 kB / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.2621, allocations: 95.98 kB / 0.957 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.2621, allocations: 23.66 kB / 0.9571 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.2622, allocations: 25.7 kB / 0.9571 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.2623, allocations: 318.8 kB / 0.9574 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.2623, allocations: 15.98 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-05/0.2624, allocations: 49.14 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.629e-05/0.2625, allocations: 69.61 kB / 0.9575 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2625, allocations: 0 / 0.9575 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001407/0.2626, allocations: 113.4 kB / 0.9576 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2627, allocations: 4 kB / 0.9576 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2627, allocations: 4 kB / 0.9576 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2627, allocations: 0 / 0.9576 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.2628, allocations: 19.98 kB / 0.9577 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2628, allocations: 8 kB / 0.9577 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.929e-05/0.2628, allocations: 4 kB / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.2628, allocations: 4 kB / 0.9577 GB, free: 0.9375 MB / 0.7325 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.973e-05/0.2629, allocations: 121.7 kB / 0.9578 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.263, allocations: 8.062 kB / 0.9578 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.263, allocations: 11.55 kB / 0.9578 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.263, allocations: 4 kB / 0.9578 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2631, allocations: 0 / 0.9578 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2631, allocations: 0 / 0.9578 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.2634, allocations: 185.5 kB / 0.958 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2634, allocations: 4 kB / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.2635, allocations: 12 kB / 0.958 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2635, allocations: 3.984 kB / 0.958 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.2635, allocations: 4 kB / 0.958 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2635, allocations: 0 / 0.958 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.2635, allocations: 4 kB / 0.958 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.2638, allocations: 329.9 kB / 0.9583 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.2638, allocations: 89.05 kB / 0.9584 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2639, allocations: 0 / 0.9584 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.264, allocations: 8 kB / 0.9584 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.2641, allocations: 7.984 kB / 0.9584 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.2641, allocations: 7.938 kB / 0.9584 GB, free: 60 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.2641, allocations: 79.28 kB / 0.9585 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2641, allocations: 0 / 0.9585 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003264/0.2645, allocations: 12 kB / 0.9585 GB, free: 15.97 MB / 0.7481 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.000129/0.2646, allocations: 114.8 kB / 0.9586 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.2647, allocations: 47.92 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2648, allocations: 0 / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.947e-05/0.2648, allocations: 19.94 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.2652, allocations: 13.81 kB / 0.9587 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.2658, allocations: 344.7 kB / 0.959 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2661, allocations: 0.6846 MB / 0.9597 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.2661, allocations: 4 kB / 0.9597 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.2662, allocations: 11.44 kB / 0.9597 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.2662, allocations: 4 kB / 0.9597 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of Templates: time 0.002876/0.2691, allocations: 0.6488 MB / 0.9604 GB, free: 14.06 MB / 0.7481 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 -s gbode -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