Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheck,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.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,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.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001074/0.001074, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.433/2.433, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 70.12 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2813, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002454/0.2838, allocations: 1.264 MB / 1.028 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.2874, allocations: 3.266 MB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.2875, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.2875, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.2876, allocations: 11.92 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.2881, allocations: 99.53 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.192e-05/0.2881, allocations: 43.78 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.2882, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.05e-05/0.2882, allocations: 19.98 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.2883, allocations: 19.92 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2883, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.2886, allocations: 71.81 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.2886, allocations: 11.97 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.2886, allocations: 11.94 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.2888, allocations: 71.84 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2888, allocations: 3.938 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2888, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2888, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 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.0003962/0.2892, allocations: 351.5 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2893, allocations: 12.75 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.2894, allocations: 12.83 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2895, allocations: 164.3 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2895, allocations: 4.375 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.2896, allocations: 4.375 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.2897, allocations: 61.78 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2897, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2897, allocations: 8 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2897, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.2898, allocations: 19.92 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.29, allocations: 165.6 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.757e-05/0.2901, allocations: 50.56 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.2902, allocations: 20.84 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007713/0.2909, allocations: 0.5906 MB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.291, allocations: 42.56 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 2.635e-06/0.291, allocations: 0 / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005684/0.2916, allocations: 306.5 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.2916, allocations: 51.41 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.2917, allocations: 105.8 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2917, allocations: 29.7 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.2918, allocations: 84.05 kB / 1.033 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.2918, allocations: 31.55 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.2918, allocations: 25.72 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.292, allocations: 318.8 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.292, allocations: 12 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.292, allocations: 57.14 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.2921, allocations: 73.02 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2922, allocations: 4 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000133/0.2923, allocations: 89.56 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2923, allocations: 7.984 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2923, allocations: 4 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2923, allocations: 0 / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.2924, allocations: 20 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.2924, allocations: 4 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.2925, allocations: 3.938 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2925, allocations: 4 kB / 1.034 GB, free: 10.04 MB / 0.8106 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.969e-05/0.2926, allocations: 129.8 kB / 1.034 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.2926, allocations: 8.188 kB / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.2927, allocations: 7.969 kB / 1.034 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2927, allocations: 7.922 kB / 1.034 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2927, allocations: 3.938 kB / 1.034 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2927, allocations: 3.938 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.293, allocations: 173.7 kB / 1.034 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.293, allocations: 4 kB / 1.034 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.875e-05/0.2931, allocations: 15.98 kB / 1.034 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2931, allocations: 0 / 1.034 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2931, allocations: 4 kB / 1.034 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2931, allocations: 448 / 1.034 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2931, allocations: 0 / 1.034 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.2933, allocations: 179.4 kB / 1.035 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.2934, allocations: 81.02 kB / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.2934, allocations: 8 kB / 1.035 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2935, allocations: 4 kB / 1.035 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.2935, allocations: 7.984 kB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.2935, allocations: 7.938 kB / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.2936, allocations: 79.28 kB / 1.035 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2936, allocations: 0 / 1.035 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002463/0.2938, allocations: 16 kB / 1.035 GB, free: 9.227 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001238/0.294, allocations: 103.2 kB / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.2941, allocations: 44.05 kB / 1.035 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2941, allocations: 4.062 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.471e-05/0.2941, allocations: 16 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2944, allocations: 2.5 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.295, allocations: 322.4 kB / 1.035 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.2953, allocations: 0.6846 MB / 1.036 GB, free: 8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.612e-05/0.2954, allocations: 11.98 kB / 1.036 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.2954, allocations: 11.44 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.2954, allocations: 0 / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of Templates: time 0.002821/0.2982, allocations: 0.6207 MB / 1.037 GB, free: 7.359 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches