Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.275/2.275, allocations: 254.9 MB / 269.9 MB, free: 9.637 MB / 218.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.002326/0.002326, allocations: 196.4 kB / 329.5 MB, free: 1.152 MB / 250.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 2.323/2.323, allocations: 225.6 MB / 0.6001 GB, free: 2.23 MB / 426.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.0009648/0.0009646, allocations: 94.86 kB / 0.7074 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007426/0.0007429, allocations: 13.19 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2112, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001389/0.2126, allocations: 0.9891 MB / 0.9317 GB, free: 24.15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2137, allocations: 0.5533 MB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.2137, allocations: 0 / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.2138, allocations: 0 / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.2138, allocations: 3.984 kB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.2144, allocations: 123.6 kB / 0.9324 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.337e-05/0.2145, allocations: 23.86 kB / 0.9324 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.2146, allocations: 7.938 kB / 0.9324 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.2146, allocations: 4 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.2147, allocations: 15.92 kB / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2147, allocations: 3.938 kB / 0.9325 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006428/0.2154, allocations: 331.4 kB / 0.9328 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.2154, allocations: 3.938 kB / 0.9328 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.2154, allocations: 33.7 kB / 0.9328 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.2156, allocations: 92.11 kB / 0.9329 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2157, allocations: 0 / 0.9329 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2157, allocations: 0 / 0.9329 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.2157, allocations: 4 kB / 0.9329 GB, free: 22.95 MB / 0.5886 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.0003781/0.2161, allocations: 359.4 kB / 0.9332 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2161, allocations: 8.031 kB / 0.9332 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.2162, allocations: 4.938 kB / 0.9332 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.425e-05/0.2163, allocations: 160.4 kB / 0.9334 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2163, allocations: 4.375 kB / 0.9334 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.2163, allocations: 4.375 kB / 0.9334 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.2164, allocations: 38.25 kB / 0.9334 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2165, allocations: 8.109 kB / 0.9335 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2165, allocations: 3.938 kB / 0.9335 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2165, allocations: 4 kB / 0.9335 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.2166, allocations: 11.98 kB / 0.9335 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.2167, allocations: 157.6 kB / 0.9336 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.2169, allocations: 50.61 kB / 0.9337 GB, free: 22 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.217, allocations: 16.8 kB / 0.9337 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.217, allocations: 4 kB / 0.9337 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2171, allocations: 38.58 kB / 0.9337 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.2171, allocations: 0 / 0.9337 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0006594/0.2177, allocations: 306.2 kB / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.2178, allocations: 59.41 kB / 0.9341 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.317e-05/0.2178, allocations: 97.84 kB / 0.9342 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2179, allocations: 29.7 kB / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.2179, allocations: 80.14 kB / 0.9343 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.2179, allocations: 15.72 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.2179, allocations: 0 / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.218, allocations: 318.8 kB / 0.9346 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.2181, allocations: 11.98 kB / 0.9346 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.2181, allocations: 15.98 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.2181, allocations: 16 kB / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2182, allocations: 0 / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001285/0.2183, allocations: 65.62 kB / 0.9347 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2183, allocations: 7.938 kB / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2183, allocations: 64 / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.2184, allocations: 7.938 kB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.2185, allocations: 15.98 kB / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2185, allocations: 0 / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.2185, allocations: 0 / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2185, allocations: 4 kB / 0.9347 GB, free: 20.8 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.2186, allocations: 115.4 kB / 0.9348 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.2186, allocations: 3.938 kB / 0.9348 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.2188, allocations: 81.48 kB / 0.9349 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2188, allocations: 4 kB / 0.9349 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2188, allocations: 0 / 0.9349 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2188, allocations: 0 / 0.9349 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.2192, allocations: 315.3 kB / 0.9352 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2192, allocations: 4.547 kB / 0.9352 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.2194, allocations: 15.98 kB / 0.9352 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2194, allocations: 0 / 0.9352 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2194, allocations: 0 / 0.9352 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2194, allocations: 0 / 0.9352 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2194, allocations: 7.938 kB / 0.9353 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.2196, allocations: 176.3 kB / 0.9354 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.2197, allocations: 89.14 kB / 0.9355 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2197, allocations: 4.031 kB / 0.9355 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.2198, allocations: 4 kB / 0.9355 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.2198, allocations: 7.984 kB / 0.9355 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.2199, allocations: 192 / 0.9355 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.788e-05/0.2199, allocations: 79.28 kB / 0.9356 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2199, allocations: 0 / 0.9356 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003146/0.2202, allocations: 27.94 kB / 0.9356 GB, free: 19.78 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.2204, allocations: 127.2 kB / 0.9357 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.2206, allocations: 35.92 kB / 0.9358 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2206, allocations: 0 / 0.9358 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.2206, allocations: 19.98 kB / 0.9358 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.2209, allocations: 7.938 kB / 0.9358 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.2214, allocations: 217.4 kB / 0.936 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.2215, allocations: 0.6809 MB / 0.9367 GB, free: 18.63 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.623e-05/0.2216, allocations: 8 kB / 0.9367 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.2216, allocations: 11.44 kB / 0.9367 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of SimCode: time 9.81e-07/0.2216, allocations: 0 / 0.9367 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of Templates: time 0.003451/0.2251, allocations: 0.6104 MB / 0.9373 GB, free: 18 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)