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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001015/0.001015, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 183.1 kB / 16.92 MB, free: 6.918 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.639/2.639, allocations: 443.2 MB / 0.7181 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 7.594 kB / 0.8801 GB, free: 42.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2775, allocations: 155.1 MB / 1.032 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001424/0.279, allocations: 0.9947 MB / 1.033 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003359/0.2824, allocations: 2.476 MB / 1.035 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.2824, allocations: 0 / 1.035 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.2825, allocations: 0 / 1.035 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.2825, allocations: 3.984 kB / 1.035 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.2831, allocations: 111.5 kB / 1.035 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.623e-05/0.2832, allocations: 43.84 kB / 1.035 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.2832, allocations: 3.984 kB / 1.035 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.2833, allocations: 19.92 kB / 1.035 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.2833, allocations: 23.91 kB / 1.035 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.2834, allocations: 4 kB / 1.035 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.2837, allocations: 107.8 kB / 1.035 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.2837, allocations: 7.969 kB / 1.035 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.2837, allocations: 41.64 kB / 1.035 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.2839, allocations: 56.16 kB / 1.035 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2839, allocations: 0 / 1.035 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2839, allocations: 4 kB / 1.035 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.2839, allocations: 0 / 1.035 GB, free: 0.8203 MB / 0.7794 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.0003679/0.2843, allocations: 339.5 kB / 1.036 GB, free: 452 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2843, allocations: 8.031 kB / 1.036 GB, free: 444 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.2845, allocations: 16.92 kB / 1.036 GB, free: 428 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2847, allocations: 164.4 kB / 1.036 GB, free: 224 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2847, allocations: 4.375 kB / 1.036 GB, free: 220 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.2847, allocations: 8.281 kB / 1.036 GB, free: 212 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.2849, allocations: 84.31 kB / 1.036 GB, free: 112 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2849, allocations: 7.875 kB / 1.036 GB, free: 104 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2849, allocations: 0 / 1.036 GB, free: 104 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2849, allocations: 0 / 1.036 GB, free: 104 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.2849, allocations: 15.94 kB / 1.036 GB, free: 88 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.2856, allocations: 462.9 kB / 1.036 GB, free: 15.57 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.2857, allocations: 79.72 kB / 1.037 GB, free: 15.46 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.2857, allocations: 18.64 kB / 1.037 GB, free: 15.44 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.2858, allocations: 4.094 kB / 1.037 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.2858, allocations: 46.48 kB / 1.037 GB, free: 15.38 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2858, allocations: 0 / 1.037 GB, free: 15.38 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006015/0.2864, allocations: 298.1 kB / 1.037 GB, free: 15.04 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.2865, allocations: 111 kB / 1.037 GB, free: 14.9 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.2866, allocations: 97.86 kB / 1.037 GB, free: 14.8 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2866, allocations: 25.7 kB / 1.037 GB, free: 14.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.2866, allocations: 92.05 kB / 1.037 GB, free: 14.67 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.2867, allocations: 27.64 kB / 1.037 GB, free: 14.64 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.2867, allocations: 13.72 kB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2868, allocations: 322.8 kB / 1.038 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.2869, allocations: 12 kB / 1.038 GB, free: 14.29 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.2869, allocations: 57.08 kB / 1.038 GB, free: 14.21 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.996e-05/0.287, allocations: 73.59 kB / 1.038 GB, free: 14.12 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.287, allocations: 4 kB / 1.038 GB, free: 14.12 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001377/0.2872, allocations: 97.44 kB / 1.038 GB, free: 14.02 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2872, allocations: 8 kB / 1.038 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.2872, allocations: 0 / 1.038 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2872, allocations: 4 kB / 1.038 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.2873, allocations: 16 kB / 1.038 GB, free: 13.99 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2873, allocations: 3.938 kB / 1.038 GB, free: 13.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.2874, allocations: 11.98 kB / 1.038 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2874, allocations: 8.125 kB / 1.038 GB, free: 13.97 MB / 0.795 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.573e-05/0.2875, allocations: 123.2 kB / 1.038 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.2875, allocations: 4 kB / 1.038 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.2876, allocations: 7.562 kB / 1.038 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2876, allocations: 0 / 1.038 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2876, allocations: 4 kB / 1.038 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2876, allocations: 0 / 1.038 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.2879, allocations: 177.6 kB / 1.038 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2879, allocations: 0 / 1.038 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.288, allocations: 28.05 kB / 1.038 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2881, allocations: 7.938 kB / 1.038 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.2881, allocations: 0 / 1.038 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2881, allocations: 4 kB / 1.038 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2881, allocations: 3.938 kB / 1.038 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.2883, allocations: 325.9 kB / 1.038 GB, free: 13.22 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.2884, allocations: 81.11 kB / 1.039 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.2884, allocations: 12.03 kB / 1.039 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.2886, allocations: 0 / 1.039 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.2886, allocations: 7.938 kB / 1.039 GB, free: 13.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.2886, allocations: 7.938 kB / 1.039 GB, free: 13.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.036e-05/0.2887, allocations: 83.27 kB / 1.039 GB, free: 13.01 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2887, allocations: 0 / 1.039 GB, free: 13.01 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003146/0.2891, allocations: 12 kB / 1.039 GB, free: 13 MB / 0.795 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.0001503/0.2892, allocations: 107.2 kB / 1.039 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.2893, allocations: 47.91 kB / 1.039 GB, free: 12.84 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2894, allocations: 0 / 1.039 GB, free: 12.84 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.2894, allocations: 19.92 kB / 1.039 GB, free: 12.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.2898, allocations: 12 kB / 1.039 GB, free: 12.81 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.2905, allocations: 434.6 kB / 1.039 GB, free: 12.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2908, allocations: 0.6848 MB / 1.04 GB, free: 11.63 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.2908, allocations: 11.44 kB / 1.04 GB, free: 11.62 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2909, allocations: 0 / 1.04 GB, free: 11.62 MB / 0.795 GB Notification: Performance of Templates: time 0.002216/0.2931, allocations: 0.7824 MB / 1.041 GB, free: 10.84 MB / 0.795 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/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