Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001617/0.001617, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001949/0.001949, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437.1 MB / 0.7111 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 64.67 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2963, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002762/0.2991, allocations: 1.26 MB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004188/0.3033, allocations: 3.273 MB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.3033, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.3034, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.951e-05/0.3034, allocations: 7.938 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.304, allocations: 107.5 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.3041, allocations: 35.84 kB / 1.023 GB, free: 5.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.3041, allocations: 4 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.3042, allocations: 19.92 kB / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.3042, allocations: 15.97 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.3042, allocations: 0 / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.3045, allocations: 87.75 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3045, allocations: 7.922 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.3046, allocations: 19.92 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3048, allocations: 64.2 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3048, allocations: 0 / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3048, allocations: 4 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3048, allocations: 0 / 1.023 GB, free: 5.691 MB / 0.795 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.0004294/0.3053, allocations: 347.4 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3053, allocations: 12.03 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.3054, allocations: 4.938 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3056, allocations: 168.2 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.3056, allocations: 384 / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.3056, allocations: 12.36 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3058, allocations: 61.73 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3058, allocations: 0 / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3058, allocations: 4 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3058, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.65e-05/0.3059, allocations: 15.98 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.3061, allocations: 169.7 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.54e-05/0.3062, allocations: 54.55 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.3062, allocations: 16.86 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007224/0.3069, allocations: 0.5906 MB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.307, allocations: 38.55 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.307, allocations: 0 / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0005924/0.3076, allocations: 298.5 kB / 1.024 GB, free: 3.602 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3076, allocations: 59.41 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.3077, allocations: 101.8 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3078, allocations: 33.7 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.3078, allocations: 88.03 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3078, allocations: 23.66 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.3079, allocations: 33.61 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.308, allocations: 314.8 kB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.3081, allocations: 19.98 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.3081, allocations: 53.03 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.3082, allocations: 77.08 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3082, allocations: 0 / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001438/0.3084, allocations: 93.55 kB / 1.025 GB, free: 2.633 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3084, allocations: 4 kB / 1.025 GB, free: 2.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3084, allocations: 4 kB / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3084, allocations: 0 / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.3085, allocations: 19.98 kB / 1.025 GB, free: 2.605 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3085, allocations: 7.938 kB / 1.025 GB, free: 2.598 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.3086, allocations: 12.06 kB / 1.025 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3086, allocations: 4 kB / 1.025 GB, free: 2.582 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 8.809e-05/0.3087, allocations: 113.8 kB / 1.025 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.3087, allocations: 4 kB / 1.025 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.3088, allocations: 7.969 kB / 1.025 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3088, allocations: 0 / 1.025 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3088, allocations: 0 / 1.025 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3088, allocations: 7.922 kB / 1.025 GB, free: 2.438 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.309, allocations: 169.7 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3091, allocations: 4 kB / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/0.3091, allocations: 16.44 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3092, allocations: 3.938 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3092, allocations: 4 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3092, allocations: 4 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3092, allocations: 80 / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.3094, allocations: 183.3 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.3095, allocations: 85.05 kB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.3095, allocations: 4 kB / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3096, allocations: 4 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.3096, allocations: 4 kB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3096, allocations: 7.938 kB / 1.026 GB, free: 1.875 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.3097, allocations: 83.64 kB / 1.026 GB, free: 1.793 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.185e-06/0.3097, allocations: 0 / 1.026 GB, free: 1.793 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002437/0.3099, allocations: 19.94 kB / 1.026 GB, free: 1.773 MB / 0.795 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.0001251/0.3101, allocations: 111.2 kB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.3102, allocations: 47.92 kB / 1.026 GB, free: 1.609 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3102, allocations: 0 / 1.026 GB, free: 1.609 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.718e-05/0.3102, allocations: 19.98 kB / 1.026 GB, free: 1.59 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.3105, allocations: 6.109 kB / 1.026 GB, free: 1.586 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.3111, allocations: 340.1 kB / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3114, allocations: 0.6923 MB / 1.027 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.3115, allocations: 11.44 kB / 1.027 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.3115, allocations: 0 / 1.027 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of Templates: time 0.002274/0.3138, allocations: 0.7694 MB / 1.028 GB, free: 15.71 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches