Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.705/1.705, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001084/0.001084, allocations: 175.5 kB / 393.1 MB, free: 4.043 MB / 314.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.367/1.367, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008607, allocations: 85.69 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 8 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6231/0.6234, allocations: 121.3 MB / 1.041 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001214/0.6247, allocations: 1.006 MB / 1.042 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.6257, allocations: 1.041 MB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.6257, allocations: 0 / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.6258, allocations: 4.812 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.6258, allocations: 6.391 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.6262, allocations: 119.9 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5e-05/0.6263, allocations: 21.17 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.6263, allocations: 4.688 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.124e-05/0.6264, allocations: 6.359 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.6264, allocations: 15.69 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.6264, allocations: 0 / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.6269, allocations: 338.2 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.6269, allocations: 3.406 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.627, allocations: 34.42 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.6272, allocations: 147.7 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6272, allocations: 3.469 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6272, allocations: 0 / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.6272, allocations: 2.156 kB / 1.044 GB, free: 56.55 MB / 0.698 GB 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.000312/0.6276, allocations: 352.6 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.6276, allocations: 8.875 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.6276, allocations: 3.188 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.501e-05/0.6277, allocations: 177.9 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.6277, allocations: 384 / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.6278, allocations: 8 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.475e-05/0.6279, allocations: 36.89 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.6279, allocations: 192 / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.6279, allocations: 7.938 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.6279, allocations: 3.969 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.943e-05/0.628, allocations: 9.219 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.6281, allocations: 156.4 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.6283, allocations: 44.94 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.6283, allocations: 17.77 kB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.6283, allocations: 0.75 kB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.6284, allocations: 35.66 kB / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.6284, allocations: 6.969 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005578/0.6289, allocations: 318.1 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.629, allocations: 51.41 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.46e-05/0.629, allocations: 99.92 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.629, allocations: 31.92 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.658e-05/0.6291, allocations: 80.89 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.6291, allocations: 24.12 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.6291, allocations: 1.688 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.6292, allocations: 316 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.6292, allocations: 9.781 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.971e-05/0.6292, allocations: 13.47 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.6293, allocations: 27.73 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.6293, allocations: 0.5312 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.823e-05/0.6294, allocations: 81.7 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6294, allocations: 12.19 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.6294, allocations: 0 / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.6294, allocations: 3.719 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-05/0.6295, allocations: 8 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6295, allocations: 4.562 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.6295, allocations: 0 / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.6295, allocations: 0 / 1.045 GB, free: 54.65 MB / 0.698 GB 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.816e-05/0.6296, allocations: 114 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-06/0.6296, allocations: 7.125 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.6297, allocations: 73.64 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6297, allocations: 0.5312 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6297, allocations: 2.812 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6297, allocations: 0 / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.63, allocations: 318 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.63, allocations: 0.5312 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.63, allocations: 13.97 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.63, allocations: 3.562 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.6301, allocations: 0 / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6301, allocations: 1.453 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6301, allocations: 0 / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.6302, allocations: 187.3 kB / 1.046 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.6302, allocations: 80.78 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.6303, allocations: 3.812 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.6303, allocations: 256 / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.6304, allocations: 13.22 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.6304, allocations: 10.78 kB / 1.046 GB, free: 53.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.738e-05/0.6304, allocations: 80.53 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6304, allocations: 3.719 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002232/0.6306, allocations: 15.94 kB / 1.046 GB, free: 53.8 MB / 0.698 GB 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.0001525/0.6308, allocations: 136.6 kB / 1.046 GB, free: 53.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.223e-05/0.6309, allocations: 35.7 kB / 1.046 GB, free: 53.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6309, allocations: 0 / 1.046 GB, free: 53.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.468e-05/0.6309, allocations: 17.77 kB / 1.046 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.6311, allocations: 12.73 kB / 1.046 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.6315, allocations: 226.3 kB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.941e-05/0.6316, allocations: 0.6794 MB / 1.047 GB, free: 52.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.023e-05/0.6316, allocations: 5.328 kB / 1.047 GB, free: 52.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.6316, allocations: 10.84 kB / 1.047 GB, free: 52.78 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.6317, allocations: 0 / 1.047 GB, free: 52.78 MB / 0.698 GB Notification: Performance of Templates: time 0.002424/0.6341, allocations: 0.6142 MB / 1.048 GB, free: 52.7 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)