Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7338/0.7338, allocations: 131 MB / 146.3 MB, free: 1.336 MB / 106.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.0009466/0.0009463, allocations: 188.2 kB / 176.4 MB, free: 4.895 MB / 138.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.304/1.304, allocations: 225.7 MB / 431.9 MB, free: 8.727 MB / 314.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.0008475/0.0008476, allocations: 89.41 kB / 0.5003 GB, free: 9.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 11.98 kB / 0.5885 GB, free: 72.66 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 79.6 MB / 0.6663 GB, free: 8.895 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001356/0.1204, allocations: 0.9861 MB / 0.6672 GB, free: 7.895 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1217, allocations: 1.033 MB / 0.6682 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.1217, allocations: 0 / 0.6682 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.1217, allocations: 3.938 kB / 0.6682 GB, free: 6.746 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.1218, allocations: 7.969 kB / 0.6683 GB, free: 6.738 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.1223, allocations: 115.6 kB / 0.6684 GB, free: 6.625 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.1223, allocations: 23.86 kB / 0.6684 GB, free: 6.602 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.1224, allocations: 8 kB / 0.6684 GB, free: 6.594 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.134e-05/0.1224, allocations: 8 kB / 0.6684 GB, free: 6.586 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.1224, allocations: 11.91 kB / 0.6684 GB, free: 6.574 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1225, allocations: 7.938 kB / 0.6684 GB, free: 6.566 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.1229, allocations: 331.3 kB / 0.6687 GB, free: 6.242 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.123, allocations: 3.984 kB / 0.6687 GB, free: 6.238 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.123, allocations: 33.64 kB / 0.6688 GB, free: 6.199 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1233, allocations: 147.9 kB / 0.6689 GB, free: 6.055 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1233, allocations: 0 / 0.6689 GB, free: 6.055 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1233, allocations: 0 / 0.6689 GB, free: 6.055 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1233, allocations: 0 / 0.6689 GB, free: 6.055 MB / 442.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.0003779/0.1237, allocations: 359.5 kB / 0.6693 GB, free: 5.652 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1237, allocations: 12.03 kB / 0.6693 GB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.1237, allocations: 4.844 kB / 0.6693 GB, free: 5.637 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1239, allocations: 164.4 kB / 0.6694 GB, free: 5.438 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1239, allocations: 384 / 0.6694 GB, free: 5.438 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.1239, allocations: 8.312 kB / 0.6694 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.1244, allocations: 94.19 kB / 0.6695 GB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1244, allocations: 192 / 0.6695 GB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1244, allocations: 7.922 kB / 0.6695 GB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1245, allocations: 4 kB / 0.6695 GB, free: 5.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.1248, allocations: 59.94 kB / 0.6696 GB, free: 5.262 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.125, allocations: 157.7 kB / 0.6697 GB, free: 5.059 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.1255, allocations: 98.48 kB / 0.6698 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.1255, allocations: 20.94 kB / 0.6699 GB, free: 4.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.1257, allocations: 93.09 kB / 0.6699 GB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1258, allocations: 30.56 kB / 0.67 GB, free: 4.781 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1258, allocations: 0 / 0.67 GB, free: 4.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.002266/0.128, allocations: 0.6073 MB / 0.6706 GB, free: 4.121 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1281, allocations: 51.41 kB / 0.6706 GB, free: 4.059 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/0.1282, allocations: 97.84 kB / 0.6707 GB, free: 3.953 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1282, allocations: 29.7 kB / 0.6707 GB, free: 3.918 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.1282, allocations: 88.14 kB / 0.6708 GB, free: 3.828 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.1283, allocations: 11.72 kB / 0.6708 GB, free: 3.816 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.1283, allocations: 4 kB / 0.6708 GB, free: 3.812 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.1284, allocations: 322.8 kB / 0.6711 GB, free: 3.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.1286, allocations: 39.91 kB / 0.6712 GB, free: 3.449 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.1287, allocations: 47.95 kB / 0.6712 GB, free: 3.402 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.1291, allocations: 96.89 kB / 0.6713 GB, free: 3.305 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1291, allocations: 4 kB / 0.6713 GB, free: 3.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004015/0.1295, allocations: 121.6 kB / 0.6714 GB, free: 3.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1295, allocations: 15.92 kB / 0.6715 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1295, allocations: 0 / 0.6715 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1296, allocations: 0 / 0.6715 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.1297, allocations: 27.98 kB / 0.6715 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1298, allocations: 3.938 kB / 0.6715 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1299, allocations: 23.97 kB / 0.6715 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1299, allocations: 0 / 0.6715 GB, free: 3.105 MB / 442.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 7.009e-05/0.13, allocations: 118.7 kB / 0.6716 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.13, allocations: 7.844 kB / 0.6716 GB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.1301, allocations: 7.969 kB / 0.6716 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1301, allocations: 4 kB / 0.6716 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1301, allocations: 0 / 0.6716 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1301, allocations: 0 / 0.6716 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.1308, allocations: 403.4 kB / 0.672 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1308, allocations: 4 kB / 0.672 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.131, allocations: 36 kB / 0.6721 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.131, allocations: 0.5156 kB / 0.6721 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.131, allocations: 0 / 0.6721 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.131, allocations: 4 kB / 0.6721 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1311, allocations: 0 / 0.6721 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.1317, allocations: 276.2 kB / 0.6723 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.1317, allocations: 88.94 kB / 0.6724 GB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1317, allocations: 4.031 kB / 0.6724 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.1319, allocations: 15.98 kB / 0.6724 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.132, allocations: 7.969 kB / 0.6724 GB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.132, allocations: 8 kB / 0.6725 GB, free: 2.039 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.707e-05/0.132, allocations: 83.34 kB / 0.6725 GB, free: 1.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.132, allocations: 0 / 0.6725 GB, free: 1.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.1322, allocations: 8 kB / 0.6725 GB, free: 1.949 MB / 442.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.0001041/0.1324, allocations: 115.2 kB / 0.6727 GB, free: 1.828 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003823/0.1327, allocations: 99.86 kB / 0.6727 GB, free: 1.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1328, allocations: 0 / 0.6727 GB, free: 1.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.1329, allocations: 51.95 kB / 0.6728 GB, free: 1.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.1331, allocations: 8 kB / 0.6728 GB, free: 1.672 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/0.134, allocations: 319.6 kB / 0.6731 GB, free: 1.328 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1342, allocations: 0.6809 MB / 0.6738 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.843e-05/0.1343, allocations: 12 kB / 0.6738 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.1344, allocations: 15.42 kB / 0.6738 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1344, allocations: 0 / 0.6738 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of Templates: time 0.002561/0.1369, allocations: 0.7595 MB / 0.6745 GB, free: 15.84 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)