Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7548/0.7548, allocations: 143.8 MB / 159.1 MB, free: 6.492 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 182.3 kB / 192 MB, free: 6.738 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.7 MB / 450.4 MB, free: 6.707 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007317/0.0007316, allocations: 110.5 kB / 0.5211 GB, free: 3.375 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001664/0.001664, allocations: 282.7 kB / 0.6025 GB, free: 49.52 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 12 kB / 0.6948 GB, free: 2.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3383, allocations: 82.45 MB / 0.7753 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001175/0.3395, allocations: 0.9915 MB / 0.7763 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.3404, allocations: 1.044 MB / 0.7773 GB, free: 24.8 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.3404, allocations: 3.062 kB / 0.7773 GB, free: 24.8 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.3404, allocations: 3.984 kB / 0.7773 GB, free: 24.8 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.858e-05/0.3405, allocations: 7.922 kB / 0.7773 GB, free: 24.79 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.3409, allocations: 115.6 kB / 0.7774 GB, free: 24.68 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.421e-05/0.3409, allocations: 23.86 kB / 0.7775 GB, free: 24.66 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.341, allocations: 4 kB / 0.7775 GB, free: 24.65 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.341, allocations: 8 kB / 0.7775 GB, free: 24.64 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.341, allocations: 15.91 kB / 0.7775 GB, free: 24.63 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.3411, allocations: 4 kB / 0.7775 GB, free: 24.62 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.3414, allocations: 327.3 kB / 0.7778 GB, free: 24.3 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.3415, allocations: 11.97 kB / 0.7778 GB, free: 24.29 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.3415, allocations: 33.64 kB / 0.7778 GB, free: 24.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3417, allocations: 146.3 kB / 0.778 GB, free: 24.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3417, allocations: 0 / 0.778 GB, free: 24.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3417, allocations: 0 / 0.778 GB, free: 24.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.3417, allocations: 4 kB / 0.778 GB, free: 24.11 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002773/0.342, allocations: 355.5 kB / 0.7783 GB, free: 23.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3421, allocations: 8.031 kB / 0.7783 GB, free: 23.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.3421, allocations: 8.844 kB / 0.7783 GB, free: 23.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.958e-05/0.3422, allocations: 164.3 kB / 0.7785 GB, free: 23.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3422, allocations: 384 / 0.7785 GB, free: 23.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.3422, allocations: 8.359 kB / 0.7785 GB, free: 23.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.3423, allocations: 38.25 kB / 0.7785 GB, free: 23.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.3423, allocations: 192 / 0.7785 GB, free: 23.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.3423, allocations: 3.938 kB / 0.7785 GB, free: 23.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3423, allocations: 8 kB / 0.7786 GB, free: 23.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.3424, allocations: 15.92 kB / 0.7786 GB, free: 23.42 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.3425, allocations: 153.7 kB / 0.7787 GB, free: 23.22 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.3427, allocations: 46.56 kB / 0.7788 GB, free: 23.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.3427, allocations: 12.86 kB / 0.7788 GB, free: 23.15 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3427, allocations: 4 kB / 0.7788 GB, free: 23.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.3427, allocations: 38.56 kB / 0.7788 GB, free: 23.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3427, allocations: 0 / 0.7788 GB, free: 23.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004644/0.3432, allocations: 318.2 kB / 0.7791 GB, free: 22.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.3432, allocations: 51.41 kB / 0.7792 GB, free: 22.67 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.3433, allocations: 93.86 kB / 0.7793 GB, free: 22.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.3433, allocations: 29.7 kB / 0.7793 GB, free: 22.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.395e-05/0.3433, allocations: 84.14 kB / 0.7794 GB, free: 22.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.3433, allocations: 23.64 kB / 0.7794 GB, free: 22.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.3433, allocations: 0 / 0.7794 GB, free: 22.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.3434, allocations: 318.8 kB / 0.7797 GB, free: 22.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.3434, allocations: 11.98 kB / 0.7797 GB, free: 22.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.3434, allocations: 11.94 kB / 0.7797 GB, free: 22.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.3435, allocations: 32.86 kB / 0.7797 GB, free: 22.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.3435, allocations: 0 / 0.7797 GB, free: 22.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.487e-05/0.3436, allocations: 65.62 kB / 0.7798 GB, free: 21.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.3436, allocations: 11.94 kB / 0.7798 GB, free: 21.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.3436, allocations: 4 kB / 0.7798 GB, free: 21.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.3436, allocations: 0 / 0.7798 GB, free: 21.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.3437, allocations: 11.98 kB / 0.7798 GB, free: 21.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3437, allocations: 0 / 0.7798 GB, free: 21.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.3437, allocations: 4 kB / 0.7798 GB, free: 21.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3437, allocations: 0 / 0.7798 GB, free: 21.95 MB / 458.7 MB 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 (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 prepare postOptimizeDAE: time 4.734e-05/0.3438, allocations: 113.8 kB / 0.7799 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.3438, allocations: 7.844 kB / 0.78 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.3439, allocations: 78.03 kB / 0.78 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3439, allocations: 4 kB / 0.78 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3439, allocations: 4 kB / 0.78 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3439, allocations: 0 / 0.78 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3441, allocations: 319.5 kB / 0.7803 GB, free: 21.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3441, allocations: 0 / 0.7803 GB, free: 21.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.3442, allocations: 11.98 kB / 0.7803 GB, free: 21.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3442, allocations: 7.984 kB / 0.7804 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.3442, allocations: 0 / 0.7804 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3442, allocations: 0 / 0.7804 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3442, allocations: 4.031 kB / 0.7804 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.3444, allocations: 176.4 kB / 0.7805 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.3444, allocations: 92.94 kB / 0.7806 GB, free: 21.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.3444, allocations: 4 kB / 0.7806 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.3445, allocations: 0 / 0.7806 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.3445, allocations: 4 kB / 0.7806 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3445, allocations: 8.047 kB / 0.7806 GB, free: 21.01 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.789e-05/0.3445, allocations: 83.28 kB / 0.7807 GB, free: 20.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3445, allocations: 0 / 0.7807 GB, free: 20.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.3447, allocations: 16 kB / 0.7807 GB, free: 20.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0001324/0.3449, allocations: 127.2 kB / 0.7808 GB, free: 20.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.471e-05/0.345, allocations: 40.09 kB / 0.7809 GB, free: 20.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.345, allocations: 0 / 0.7809 GB, free: 20.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.345, allocations: 16 kB / 0.7809 GB, free: 20.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.3452, allocations: 21.2 kB / 0.7809 GB, free: 20.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.3455, allocations: 217.7 kB / 0.7811 GB, free: 20.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.877e-05/0.3456, allocations: 0.6809 MB / 0.7818 GB, free: 19.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.937e-05/0.3457, allocations: 7.938 kB / 0.7818 GB, free: 19.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.3457, allocations: 11.44 kB / 0.7818 GB, free: 19.73 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3457, allocations: 0 / 0.7818 GB, free: 19.73 MB / 458.7 MB Notification: Performance of Templates: time 0.002187/0.3479, allocations: 0.6178 MB / 0.7824 GB, free: 19.12 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)