Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009062/0.009062, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.0011/0.0011, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.936/1.936, allocations: 194.6 MB / 211.3 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.194/2.194, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007937/0.0007941, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5634, allocations: 98.71 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.7908, allocations: 126.1 MB / 0.8065 GB, free: 172 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004066/0.7913, allocations: 83.95 kB / 0.8066 GB, free: 88 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03293/0.8242, allocations: 4.256 MB / 0.8107 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.258e-06/0.8243, allocations: 0 / 0.8107 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.105e-06/0.8243, allocations: 0 / 0.8107 GB, free: 11.82 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008199/0.8251, allocations: 379.1 kB / 0.8111 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.8252, allocations: 12.03 kB / 0.8111 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.8253, allocations: 7.953 kB / 0.8111 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.8255, allocations: 163.1 kB / 0.8113 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.8256, allocations: 7.938 kB / 0.8113 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.8257, allocations: 11.91 kB / 0.8113 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.8261, allocations: 85.66 kB / 0.8114 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.8262, allocations: 3.984 kB / 0.8114 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.8262, allocations: 0 / 0.8114 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.8263, allocations: 4 kB / 0.8114 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005321/0.8268, allocations: 59.95 kB / 0.8114 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.8279, allocations: 336.5 kB / 0.8118 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.8285, allocations: 86.53 kB / 0.8119 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.8285, allocations: 0 / 0.8119 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.8286, allocations: 38.56 kB / 0.8119 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.297e-06/0.8286, allocations: 0 / 0.8119 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.003498/0.8321, allocations: 0.6735 MB / 0.8125 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.8322, allocations: 55.34 kB / 0.8126 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.8324, allocations: 96.98 kB / 0.8127 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.8324, allocations: 29.7 kB / 0.8127 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.8325, allocations: 84.14 kB / 0.8128 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.896e-05/0.8326, allocations: 39.36 kB / 0.8128 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.8327, allocations: 4 kB / 0.8128 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.8329, allocations: 322.8 kB / 0.8131 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.8333, allocations: 31.98 kB / 0.8132 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.8336, allocations: 35.97 kB / 0.8132 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.8339, allocations: 40.23 kB / 0.8133 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.928e-06/0.8339, allocations: 0 / 0.8133 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007726/0.8347, allocations: 121.8 kB / 0.8134 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.8348, allocations: 11.95 kB / 0.8134 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.512e-06/0.8348, allocations: 0 / 0.8134 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8348, allocations: 0 / 0.8134 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.8352, allocations: 40.02 kB / 0.8134 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.269e-06/0.8353, allocations: 3.938 kB / 0.8134 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.8354, allocations: 7.984 kB / 0.8134 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.8355, allocations: 4 kB / 0.8134 GB, free: 8.773 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.8357, allocations: 117.8 kB / 0.8135 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.8358, allocations: 7.906 kB / 0.8136 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008832/0.8367, allocations: 153.4 kB / 0.8137 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.72e-06/0.8367, allocations: 0 / 0.8137 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.8367, allocations: 4 kB / 0.8137 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.8368, allocations: 0 / 0.8137 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.8381, allocations: 386.5 kB / 0.8141 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.8381, allocations: 3.953 kB / 0.8141 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.8385, allocations: 31.91 kB / 0.8141 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.8386, allocations: 4 kB / 0.8141 GB, free: 8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.8386, allocations: 0 / 0.8141 GB, free: 8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.583e-06/0.8386, allocations: 3.938 kB / 0.8141 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.2e-06/0.8387, allocations: 0 / 0.8141 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.8398, allocations: 259.6 kB / 0.8144 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/0.84, allocations: 88.95 kB / 0.8144 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.84, allocations: 8.031 kB / 0.8145 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.8403, allocations: 12.05 kB / 0.8145 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.8404, allocations: 7.938 kB / 0.8145 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.8404, allocations: 11.98 kB / 0.8145 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.917e-05/0.8405, allocations: 79.28 kB / 0.8146 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.057e-06/0.8406, allocations: 0 / 0.8146 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007334/0.8413, allocations: 40 kB / 0.8146 GB, free: 7.465 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003813/0.8417, allocations: 139.1 kB / 0.8147 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006943/0.8424, allocations: 95.89 kB / 0.8148 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.221e-06/0.8425, allocations: 3.938 kB / 0.8148 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.8428, allocations: 47.97 kB / 0.8149 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.8432, allocations: 14.84 kB / 0.8149 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.8446, allocations: 377.2 kB / 0.8152 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.8451, allocations: 0.6926 MB / 0.8159 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.8453, allocations: 12.66 kB / 0.8159 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.8454, allocations: 15.44 kB / 0.8159 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of SimCode: time 2.741e-06/0.8454, allocations: 4 kB / 0.816 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of Templates: time 0.006998/0.8524, allocations: 1.018 MB / 0.8169 GB, free: 5.016 MB / 0.6355 GB