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_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7556/0.7556, allocations: 143.8 MB / 159.1 MB, free: 6.488 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.0009665/0.0009668, allocations: 187.3 kB / 192 MB, free: 6.711 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.366/1.366, allocations: 225.7 MB / 450.4 MB, free: 4.941 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.0007666/0.0007665, allocations: 111.5 kB / 0.5211 GB, free: 1.605 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.001716/0.001716, allocations: 281 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004285, allocations: 10.66 kB / 0.6948 GB, free: 59.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 82.45 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001262/0.1382, allocations: 1.001 MB / 0.7763 GB, free: 13.34 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1393, allocations: 1.052 MB / 0.7773 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.409e-05/0.1393, allocations: 0 / 0.7773 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.1394, allocations: 0 / 0.7773 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.4e-05/0.1394, allocations: 0 / 0.7773 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.1398, allocations: 127.5 kB / 0.7774 GB, free: 12.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.644e-05/0.1399, allocations: 27.88 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.1399, allocations: 3.984 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.14, allocations: 4 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.14, allocations: 11.94 kB / 0.7775 GB, free: 12 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.1401, allocations: 0 / 0.7775 GB, free: 12 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.1405, allocations: 343.3 kB / 0.7778 GB, free: 11.67 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1405, allocations: 0 / 0.7778 GB, free: 11.67 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.1406, allocations: 33.64 kB / 0.7778 GB, free: 11.63 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1408, allocations: 151.9 kB / 0.778 GB, free: 11.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1408, allocations: 0 / 0.778 GB, free: 11.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1409, allocations: 0 / 0.778 GB, free: 11.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1409, allocations: 4 kB / 0.778 GB, free: 11.48 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.0003883/0.1413, allocations: 355.5 kB / 0.7783 GB, free: 11.08 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1413, allocations: 8.031 kB / 0.7783 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.1413, allocations: 4.844 kB / 0.7783 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.1415, allocations: 168.4 kB / 0.7785 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1415, allocations: 4.312 kB / 0.7785 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1415, allocations: 4.375 kB / 0.7785 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1416, allocations: 38.25 kB / 0.7785 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1417, allocations: 4.188 kB / 0.7785 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1417, allocations: 3.938 kB / 0.7785 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1417, allocations: 3.984 kB / 0.7786 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.857e-05/0.1417, allocations: 15.94 kB / 0.7786 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1419, allocations: 153.7 kB / 0.7787 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1421, allocations: 46.61 kB / 0.7788 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.1421, allocations: 16.94 kB / 0.7788 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1422, allocations: 8 kB / 0.7788 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.1422, allocations: 30.56 kB / 0.7788 GB, free: 10.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1422, allocations: 0 / 0.7788 GB, free: 10.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006041/0.1428, allocations: 318.1 kB / 0.7791 GB, free: 10.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1428, allocations: 51.41 kB / 0.7792 GB, free: 10.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.08e-05/0.1429, allocations: 97.84 kB / 0.7793 GB, free: 9.934 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1429, allocations: 25.7 kB / 0.7793 GB, free: 9.902 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.143, allocations: 92.14 kB / 0.7794 GB, free: 9.809 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.143, allocations: 19.64 kB / 0.7794 GB, free: 9.789 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.143, allocations: 4 kB / 0.7794 GB, free: 9.785 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1431, allocations: 318.8 kB / 0.7797 GB, free: 9.465 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.1432, allocations: 8 kB / 0.7797 GB, free: 9.457 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.1432, allocations: 11.98 kB / 0.7797 GB, free: 9.445 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.1433, allocations: 32.86 kB / 0.7797 GB, free: 9.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1433, allocations: 3.938 kB / 0.7798 GB, free: 9.406 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.866e-05/0.1434, allocations: 69.53 kB / 0.7798 GB, free: 9.332 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1434, allocations: 15.94 kB / 0.7798 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1434, allocations: 0 / 0.7798 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1434, allocations: 0 / 0.7798 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.1435, allocations: 8 kB / 0.7798 GB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1435, allocations: 0 / 0.7798 GB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.1435, allocations: 4 kB / 0.7798 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1435, allocations: 0 / 0.7798 GB, free: 9.305 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 6.688e-05/0.1436, allocations: 117.8 kB / 0.78 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.1436, allocations: 7.938 kB / 0.78 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.1437, allocations: 73.59 kB / 0.78 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1438, allocations: 0 / 0.78 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1438, allocations: 0 / 0.78 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1438, allocations: 4 kB / 0.78 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.1441, allocations: 319.3 kB / 0.7803 GB, free: 8.715 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1441, allocations: 0 / 0.7803 GB, free: 8.715 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.1441, allocations: 8 kB / 0.7804 GB, free: 8.707 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1441, allocations: 4 kB / 0.7804 GB, free: 8.703 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1442, allocations: 4.031 kB / 0.7804 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1442, allocations: 0 / 0.7804 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1442, allocations: 0.5156 kB / 0.7804 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.1444, allocations: 184.3 kB / 0.7805 GB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.1444, allocations: 85.3 kB / 0.7806 GB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1444, allocations: 3.984 kB / 0.7806 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.1445, allocations: 8 kB / 0.7806 GB, free: 8.387 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.1445, allocations: 8.047 kB / 0.7806 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1446, allocations: 4 kB / 0.7806 GB, free: 8.375 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.132e-05/0.1446, allocations: 83.28 kB / 0.7807 GB, free: 8.293 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.323e-06/0.1446, allocations: 0 / 0.7807 GB, free: 8.293 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.1448, allocations: 23.92 kB / 0.7807 GB, free: 8.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.000166/0.145, allocations: 127.2 kB / 0.7809 GB, free: 8.137 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.441e-05/0.1451, allocations: 35.86 kB / 0.7809 GB, free: 8.102 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1451, allocations: 4 kB / 0.7809 GB, free: 8.098 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/0.1451, allocations: 16 kB / 0.7809 GB, free: 8.082 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1454, allocations: 12.55 kB / 0.7809 GB, free: 8.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.1458, allocations: 213.5 kB / 0.7811 GB, free: 7.828 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.146, allocations: 0.6809 MB / 0.7818 GB, free: 7.121 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.1461, allocations: 7.984 kB / 0.7818 GB, free: 7.113 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.1461, allocations: 11.44 kB / 0.7818 GB, free: 7.102 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1461, allocations: 0 / 0.7818 GB, free: 7.102 MB / 458.7 MB Notification: Performance of Templates: time 0.002427/0.1485, allocations: 0.6292 MB / 0.7824 GB, free: 6.477 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)