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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.87/1.87, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.001379/0.001379, allocations: 187 kB / 393.1 MB, free: 4.07 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.514/1.514, 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.0007302/0.0007302, allocations: 97.2 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.000309, allocations: 8 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.5527, allocations: 121.3 MB / 1.041 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001125/0.5539, allocations: 1.011 MB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009109/0.5548, allocations: 1.052 MB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.5548, allocations: 0 / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.5548, allocations: 7.875 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.905e-05/0.5549, allocations: 5.438 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.5553, allocations: 124.5 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.5554, allocations: 29.66 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.5554, allocations: 5.969 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.5554, allocations: 7.344 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.695e-05/0.5555, allocations: 15.06 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.5555, allocations: 0 / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.556, allocations: 340.9 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.556, allocations: 5.188 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.556, allocations: 49.5 kB / 1.043 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.5563, allocations: 149 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5563, allocations: 1.031 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5563, allocations: 0 / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.5563, allocations: 0 / 1.044 GB, free: 56.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002742/0.5566, allocations: 364.4 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.5566, allocations: 10.11 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.5566, allocations: 3.25 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.772e-05/0.5567, allocations: 163.2 kB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.5567, allocations: 2.688 kB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.5567, allocations: 11.84 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.518e-05/0.5568, allocations: 48.78 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5569, allocations: 192 / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.5569, allocations: 11.03 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5569, allocations: 1.172 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.5569, allocations: 20 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.5571, allocations: 165.8 kB / 1.044 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.5572, allocations: 65.95 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.5572, allocations: 29.77 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.5572, allocations: 3.781 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.5572, allocations: 40.03 kB / 1.044 GB, free: 55.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.5573, allocations: 0 / 1.044 GB, free: 55.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009165/0.5582, allocations: 0.5971 MB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.5582, allocations: 54.86 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.921e-05/0.5583, allocations: 96.95 kB / 1.045 GB, free: 54.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.5583, allocations: 31.67 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.373e-05/0.5583, allocations: 80.14 kB / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.5583, allocations: 37.41 kB / 1.045 GB, free: 54.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5583, allocations: 0 / 1.045 GB, free: 54.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.5584, allocations: 317.1 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/0.5584, allocations: 22.95 kB / 1.046 GB, free: 54.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.5585, allocations: 21.39 kB / 1.046 GB, free: 54.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.212e-05/0.5585, allocations: 61.58 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5586, allocations: 4.656 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001213/0.5587, allocations: 99.3 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.5587, allocations: 9.531 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.5587, allocations: 0 / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5587, allocations: 0.6875 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.5588, allocations: 26.25 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.5588, allocations: 6.438 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.5589, allocations: 0.9062 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.5589, allocations: 3.641 kB / 1.046 GB, free: 54.06 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 (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 4.975e-05/0.5589, allocations: 112.4 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.559, allocations: 9.469 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.5591, allocations: 107.3 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5591, allocations: 0 / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5592, allocations: 0.9688 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5592, allocations: 0 / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.5595, allocations: 360.8 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5595, allocations: 0 / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.5596, allocations: 21.16 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5596, allocations: 0 / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.5596, allocations: 11.38 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5596, allocations: 3.938 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5596, allocations: 0 / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.5598, allocations: 217.6 kB / 1.047 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.5598, allocations: 82.48 kB / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.5599, allocations: 1.188 kB / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.5599, allocations: 4.938 kB / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.56, allocations: 11.05 kB / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.56, allocations: 11.38 kB / 1.047 GB, free: 53.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.724e-05/0.56, allocations: 78.75 kB / 1.047 GB, free: 53.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.56, allocations: 0 / 1.047 GB, free: 53.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002393/0.5603, allocations: 40.66 kB / 1.047 GB, free: 53.17 MB / 0.698 GB 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.0001776/0.5604, allocations: 141.5 kB / 1.047 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.5606, allocations: 66.45 kB / 1.047 GB, free: 53.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5606, allocations: 0 / 1.047 GB, free: 53.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.5606, allocations: 36.31 kB / 1.047 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.5608, allocations: 7.625 kB / 1.047 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.5613, allocations: 336.9 kB / 1.047 GB, free: 52.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.788e-05/0.5614, allocations: 0.6835 MB / 1.048 GB, free: 52.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.438e-05/0.5614, allocations: 14.83 kB / 1.048 GB, free: 52.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.5615, allocations: 11.56 kB / 1.048 GB, free: 52.09 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.5615, allocations: 0 / 1.048 GB, free: 52.09 MB / 0.698 GB Notification: Performance of Templates: time 0.002693/0.5642, allocations: 0.9086 MB / 1.049 GB, free: 51.99 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)