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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.752/0.752, allocations: 131 MB / 146.3 MB, free: 1.34 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.0009846/0.0009844, allocations: 188.2 kB / 176.4 MB, free: 4.918 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.306/1.306, allocations: 225.7 MB / 431.9 MB, free: 9.668 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.0007161/0.0007161, allocations: 104.1 kB / 0.5003 GB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002963, allocations: 11.98 kB / 0.5885 GB, free: 72.82 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1153, allocations: 79.6 MB / 0.6663 GB, free: 9.059 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001294/0.1167, allocations: 0.9978 MB / 0.6672 GB, free: 8.047 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1177, allocations: 1.045 MB / 0.6683 GB, free: 6.891 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.1178, allocations: 4 kB / 0.6683 GB, free: 6.887 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.1178, allocations: 4 kB / 0.6683 GB, free: 6.883 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.38e-05/0.1178, allocations: 0 / 0.6683 GB, free: 6.883 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.1183, allocations: 127.5 kB / 0.6684 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.369e-05/0.1183, allocations: 31.84 kB / 0.6684 GB, free: 6.727 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.1184, allocations: 4 kB / 0.6684 GB, free: 6.723 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.1184, allocations: 4 kB / 0.6684 GB, free: 6.719 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.1185, allocations: 15.92 kB / 0.6684 GB, free: 6.703 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.1185, allocations: 8 kB / 0.6685 GB, free: 6.695 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.1189, allocations: 343.2 kB / 0.6688 GB, free: 6.359 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.119, allocations: 4 kB / 0.6688 GB, free: 6.355 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.119, allocations: 41.62 kB / 0.6688 GB, free: 6.309 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1192, allocations: 147.9 kB / 0.669 GB, free: 6.164 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1193, allocations: 0 / 0.669 GB, free: 6.164 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1193, allocations: 0 / 0.669 GB, free: 6.164 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.1193, allocations: 0 / 0.669 GB, free: 6.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003519/0.1196, allocations: 363.4 kB / 0.6693 GB, free: 5.758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1197, allocations: 16.03 kB / 0.6693 GB, free: 5.742 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1197, allocations: 4.844 kB / 0.6693 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1198, allocations: 164.4 kB / 0.6695 GB, free: 5.539 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1198, allocations: 12.38 kB / 0.6695 GB, free: 5.527 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1199, allocations: 4.375 kB / 0.6695 GB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.1204, allocations: 102.2 kB / 0.6696 GB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1204, allocations: 192 / 0.6696 GB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1204, allocations: 3.938 kB / 0.6696 GB, free: 5.414 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1204, allocations: 0 / 0.6696 GB, free: 5.414 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003793/0.1208, allocations: 75.86 kB / 0.6697 GB, free: 5.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.121, allocations: 165.6 kB / 0.6698 GB, free: 5.129 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.1214, allocations: 114.6 kB / 0.6699 GB, free: 5.008 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.1215, allocations: 28.84 kB / 0.67 GB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.1217, allocations: 97.09 kB / 0.6701 GB, free: 4.863 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1217, allocations: 30.56 kB / 0.6701 GB, free: 4.824 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1217, allocations: 0 / 0.6701 GB, free: 4.824 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.005505/0.1272, allocations: 1.274 MB / 0.6713 GB, free: 3.457 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.1273, allocations: 59.34 kB / 0.6714 GB, free: 3.387 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.1273, allocations: 93.86 kB / 0.6715 GB, free: 3.285 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1273, allocations: 29.7 kB / 0.6715 GB, free: 3.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.1274, allocations: 84.42 kB / 0.6716 GB, free: 3.164 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.1274, allocations: 47.47 kB / 0.6716 GB, free: 3.117 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.1274, allocations: 3.938 kB / 0.6716 GB, free: 3.113 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.1275, allocations: 318.8 kB / 0.6719 GB, free: 2.793 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.1278, allocations: 67.95 kB / 0.672 GB, free: 2.727 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.1281, allocations: 67.95 kB / 0.6721 GB, free: 2.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.1286, allocations: 153 kB / 0.6722 GB, free: 2.508 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1286, allocations: 4 kB / 0.6722 GB, free: 2.504 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005855/0.1292, allocations: 197.5 kB / 0.6724 GB, free: 2.305 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1292, allocations: 8 kB / 0.6724 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1292, allocations: 3.938 kB / 0.6724 GB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1292, allocations: 3.984 kB / 0.6724 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.1296, allocations: 51.95 kB / 0.6725 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1296, allocations: 7.984 kB / 0.6725 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.1299, allocations: 27.97 kB / 0.6725 GB, free: 2.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1299, allocations: 8 kB / 0.6725 GB, free: 2.195 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 (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.389e-05/0.13, allocations: 113.8 kB / 0.6726 GB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.13, allocations: 11.78 kB / 0.6726 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.1301, allocations: 7.969 kB / 0.6726 GB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1301, allocations: 8 kB / 0.6727 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1301, allocations: 3.984 kB / 0.6727 GB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1301, allocations: 0 / 0.6727 GB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008559/0.1309, allocations: 466.3 kB / 0.6731 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.131, allocations: 0 / 0.6731 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.1313, allocations: 51.95 kB / 0.6732 GB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1313, allocations: 0 / 0.6732 GB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.1314, allocations: 8 kB / 0.6732 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1314, allocations: 0 / 0.6732 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1314, allocations: 3.938 kB / 0.6732 GB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008788/0.1323, allocations: 375.2 kB / 0.6735 GB, free: 1.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.1323, allocations: 81.09 kB / 0.6736 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1323, allocations: 8.031 kB / 0.6736 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.1326, allocations: 36.03 kB / 0.6736 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.1327, allocations: 7.984 kB / 0.6737 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1327, allocations: 4 kB / 0.6737 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.786e-05/0.1327, allocations: 75.28 kB / 0.6737 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1327, allocations: 0 / 0.6737 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.133, allocations: 24 kB / 0.6737 GB, free: 0.8398 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001192/0.1331, allocations: 115.2 kB / 0.6739 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005713/0.1337, allocations: 167.9 kB / 0.674 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1337, allocations: 0 / 0.674 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.134, allocations: 79.88 kB / 0.6741 GB, free: 488 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.1342, allocations: 12 kB / 0.6741 GB, free: 476 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1357, allocations: 0.5319 MB / 0.6746 GB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.1359, allocations: 0.6821 MB / 0.6753 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.136, allocations: 19.98 kB / 0.6753 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.1361, allocations: 11.44 kB / 0.6753 GB, free: 15.17 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1361, allocations: 7.938 kB / 0.6753 GB, free: 15.16 MB / 458.7 MB Notification: Performance of Templates: time 0.002769/0.1389, allocations: 1.013 MB / 0.6763 GB, free: 14.16 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)