Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7462/0.7462, 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.001037/0.001037, allocations: 190.4 kB / 192 MB, free: 6.727 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.335/1.335, allocations: 225.7 MB / 450.4 MB, free: 5 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.0007408/0.000741, allocations: 103.5 kB / 0.5211 GB, free: 1.664 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.001666/0.001666, allocations: 276.2 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004577, allocations: 10.34 kB / 0.6948 GB, free: 59.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1308, allocations: 82.45 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001588/0.1325, allocations: 1.177 MB / 0.7765 GB, free: 13.15 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1338, allocations: 1.071 MB / 0.7775 GB, free: 11.96 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.1339, allocations: 0 / 0.7775 GB, free: 11.96 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.1339, allocations: 8 kB / 0.7775 GB, free: 11.96 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.134, allocations: 11.91 kB / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.1345, allocations: 127.6 kB / 0.7777 GB, free: 11.82 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.1346, allocations: 51.84 kB / 0.7777 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.1346, allocations: 7.938 kB / 0.7777 GB, free: 11.76 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.1347, allocations: 19.98 kB / 0.7777 GB, free: 11.74 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.1347, allocations: 35.83 kB / 0.7778 GB, free: 11.71 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1348, allocations: 4 kB / 0.7778 GB, free: 11.7 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.1352, allocations: 331.3 kB / 0.7781 GB, free: 11.38 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.1353, allocations: 15.97 kB / 0.7781 GB, free: 11.36 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.1353, allocations: 45.56 kB / 0.7781 GB, free: 11.31 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1356, allocations: 183.7 kB / 0.7783 GB, free: 11.13 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1356, allocations: 0 / 0.7783 GB, free: 11.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1356, allocations: 0 / 0.7783 GB, free: 11.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1356, allocations: 0 / 0.7783 GB, free: 11.13 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005374/0.1362, allocations: 395.4 kB / 0.7787 GB, free: 10.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1362, allocations: 12.03 kB / 0.7787 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1363, allocations: 4.844 kB / 0.7787 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1364, allocations: 168.3 kB / 0.7789 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.1365, allocations: 8.375 kB / 0.7789 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1365, allocations: 8.375 kB / 0.7789 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.1367, allocations: 90.14 kB / 0.779 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1367, allocations: 192 / 0.779 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1368, allocations: 7.875 kB / 0.779 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1368, allocations: 4 kB / 0.779 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.137, allocations: 59.95 kB / 0.779 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.1376, allocations: 320.7 kB / 0.7793 GB, free: 9.934 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1379, allocations: 90.47 kB / 0.7794 GB, free: 9.836 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.138, allocations: 33 kB / 0.7795 GB, free: 9.801 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.138, allocations: 7.984 kB / 0.7795 GB, free: 9.793 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.138, allocations: 30.56 kB / 0.7795 GB, free: 9.754 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.138, allocations: 0 / 0.7795 GB, free: 9.754 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.001528/0.1396, allocations: 0.6695 MB / 0.7802 GB, free: 8.992 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1396, allocations: 55.41 kB / 0.7802 GB, free: 8.926 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/0.1397, allocations: 117.7 kB / 0.7803 GB, free: 8.801 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1397, allocations: 25.7 kB / 0.7803 GB, free: 8.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.1398, allocations: 92.05 kB / 0.7804 GB, free: 8.676 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1398, allocations: 39.39 kB / 0.7805 GB, free: 8.637 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.1398, allocations: 4 kB / 0.7805 GB, free: 8.633 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1399, allocations: 314.8 kB / 0.7808 GB, free: 8.316 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1401, allocations: 35.98 kB / 0.7808 GB, free: 8.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1402, allocations: 43.97 kB / 0.7808 GB, free: 8.238 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.1404, allocations: 80.83 kB / 0.7809 GB, free: 8.156 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1404, allocations: 0 / 0.7809 GB, free: 8.156 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002985/0.1407, allocations: 129.7 kB / 0.7811 GB, free: 8.023 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1408, allocations: 4 kB / 0.7811 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1408, allocations: 0 / 0.7811 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1408, allocations: 0 / 0.7811 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.141, allocations: 31.92 kB / 0.7811 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.141, allocations: 3.984 kB / 0.7811 GB, free: 7.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.141, allocations: 19.92 kB / 0.7811 GB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1411, allocations: 0 / 0.7811 GB, free: 7.965 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 (13): * Single equations (assignments): 13 * 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.407e-05/0.1411, allocations: 117.8 kB / 0.7812 GB, free: 7.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1412, allocations: 4 kB / 0.7812 GB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.1416, allocations: 141.4 kB / 0.7814 GB, free: 7.688 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1416, allocations: 4 kB / 0.7814 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1416, allocations: 7.938 kB / 0.7814 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1416, allocations: 3.938 kB / 0.7814 GB, free: 7.672 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.1422, allocations: 382.5 kB / 0.7817 GB, free: 7.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1423, allocations: 3.984 kB / 0.7817 GB, free: 7.238 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.1424, allocations: 35.92 kB / 0.7818 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1425, allocations: 0 / 0.7818 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.1425, allocations: 7.938 kB / 0.7818 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1425, allocations: 0 / 0.7818 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1425, allocations: 4 kB / 0.7818 GB, free: 7.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.1431, allocations: 247.5 kB / 0.782 GB, free: 6.934 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.1431, allocations: 85.05 kB / 0.7821 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1432, allocations: 11.88 kB / 0.7821 GB, free: 6.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1433, allocations: 11.98 kB / 0.7821 GB, free: 6.809 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.1433, allocations: 11.92 kB / 0.7821 GB, free: 6.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1434, allocations: 12.06 kB / 0.7822 GB, free: 6.785 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.872e-05/0.1434, allocations: 79.28 kB / 0.7822 GB, free: 6.707 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1434, allocations: 0 / 0.7822 GB, free: 6.707 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.1437, allocations: 40 kB / 0.7823 GB, free: 6.668 MB / 458.7 MB 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 (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.0002193/0.1439, allocations: 135.8 kB / 0.7824 GB, free: 6.527 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.1443, allocations: 92.33 kB / 0.7825 GB, free: 6.438 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1443, allocations: 0 / 0.7825 GB, free: 6.438 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1445, allocations: 51.91 kB / 0.7825 GB, free: 6.387 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1448, allocations: 8 kB / 0.7825 GB, free: 6.379 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.1455, allocations: 390.9 kB / 0.7829 GB, free: 5.965 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1458, allocations: 0.6926 MB / 0.7836 GB, free: 5.246 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.06e-05/0.1459, allocations: 20.59 kB / 0.7836 GB, free: 5.227 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1459, allocations: 11.44 kB / 0.7836 GB, free: 5.215 MB / 458.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1459, allocations: 0 / 0.7836 GB, free: 5.215 MB / 458.7 MB Notification: Performance of Templates: time 0.003293/0.1492, allocations: 1.1 MB / 0.7847 GB, free: 4.121 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)