Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.001003/0.001003, allocations: 181.2 kB / 330.8 MB, free: 480 kB / 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 1.557/1.557, allocations: 225.7 MB / 0.6016 GB, free: 15.92 MB / 442.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.0007134/0.0007133, allocations: 101.4 kB / 0.709 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003291, allocations: 11.59 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1783, allocations: 109.2 MB / 0.9328 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001128/0.1795, allocations: 0.9969 MB / 0.9337 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009242/0.1805, allocations: 1.04 MB / 0.9347 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.1805, allocations: 0 / 0.9347 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.1805, allocations: 3.938 kB / 0.9347 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.1806, allocations: 4 kB / 0.9348 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.1811, allocations: 127.6 kB / 0.9349 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.919e-05/0.1811, allocations: 19.88 kB / 0.9349 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.1812, allocations: 3.984 kB / 0.9349 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.796e-05/0.1812, allocations: 7.938 kB / 0.9349 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.1813, allocations: 15.92 kB / 0.9349 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.1813, allocations: 0 / 0.9349 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.1817, allocations: 335.3 kB / 0.9352 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.1817, allocations: 4 kB / 0.9352 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.1818, allocations: 37.62 kB / 0.9353 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.182, allocations: 151.9 kB / 0.9354 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.182, allocations: 0 / 0.9354 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.532e-06/0.182, allocations: 0 / 0.9354 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.182, allocations: 0 / 0.9354 GB, free: 21.26 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.0003285/0.1824, allocations: 355.5 kB / 0.9358 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1824, allocations: 11.98 kB / 0.9358 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1824, allocations: 0.9375 kB / 0.9358 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.648e-05/0.1825, allocations: 172.3 kB / 0.9359 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1826, allocations: 384 / 0.9359 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1826, allocations: 4.312 kB / 0.9359 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/0.1827, allocations: 46.25 kB / 0.936 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1827, allocations: 192 / 0.936 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1827, allocations: 3.938 kB / 0.936 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1827, allocations: 0 / 0.936 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.1828, allocations: 15.98 kB / 0.936 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.1829, allocations: 153.7 kB / 0.9362 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1831, allocations: 46.55 kB / 0.9362 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.1831, allocations: 24.94 kB / 0.9362 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1832, allocations: 0 / 0.9362 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.1832, allocations: 34.56 kB / 0.9363 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1832, allocations: 0 / 0.9363 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005631/0.1838, allocations: 322.1 kB / 0.9366 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.1838, allocations: 51.41 kB / 0.9366 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.1838, allocations: 101.8 kB / 0.9367 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.1839, allocations: 29.7 kB / 0.9367 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.1839, allocations: 80.14 kB / 0.9368 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1839, allocations: 15.72 kB / 0.9368 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/0.1839, allocations: 4 kB / 0.9368 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.184, allocations: 314.8 kB / 0.9371 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.184, allocations: 12 kB / 0.9371 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.184, allocations: 15.94 kB / 0.9372 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.251e-05/0.1841, allocations: 36.78 kB / 0.9372 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.1841, allocations: 0 / 0.9372 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.056e-05/0.1842, allocations: 65.69 kB / 0.9373 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1842, allocations: 15.78 kB / 0.9373 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1842, allocations: 4 kB / 0.9373 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1842, allocations: 0 / 0.9373 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.1843, allocations: 8 kB / 0.9373 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1843, allocations: 0 / 0.9373 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.1843, allocations: 0 / 0.9373 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1843, allocations: 4 kB / 0.9373 GB, free: 19.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.1844, allocations: 121.8 kB / 0.9374 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.1844, allocations: 11.84 kB / 0.9374 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.1845, allocations: 65.66 kB / 0.9375 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1845, allocations: 0 / 0.9375 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1845, allocations: 0 / 0.9375 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1846, allocations: 0 / 0.9375 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1848, allocations: 323.3 kB / 0.9378 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1848, allocations: 0 / 0.9378 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.1849, allocations: 12.03 kB / 0.9378 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1849, allocations: 0 / 0.9378 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1849, allocations: 8 kB / 0.9378 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1849, allocations: 432 / 0.9378 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1849, allocations: 0 / 0.9378 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1851, allocations: 188.8 kB / 0.938 GB, free: 18.28 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.1851, allocations: 85.05 kB / 0.9381 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1851, allocations: 8.047 kB / 0.9381 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.1852, allocations: 4 kB / 0.9381 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1852, allocations: 0 / 0.9381 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1852, allocations: 8 kB / 0.9381 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.893e-05/0.1852, allocations: 79.27 kB / 0.9382 GB, free: 18.08 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1853, allocations: 0 / 0.9382 GB, free: 18.08 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002146/0.1855, allocations: 27.92 kB / 0.9382 GB, free: 18.05 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 (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.0001744/0.1857, allocations: 131.8 kB / 0.9383 GB, free: 17.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.842e-05/0.1857, allocations: 35.92 kB / 0.9383 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1858, allocations: 0 / 0.9383 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.41e-05/0.1858, allocations: 19.94 kB / 0.9384 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.186, allocations: 13.97 kB / 0.9384 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.1863, allocations: 218 kB / 0.9386 GB, free: 17.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.548e-05/0.1864, allocations: 0.6809 MB / 0.9393 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.1865, allocations: 7.984 kB / 0.9393 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.1865, allocations: 11.44 kB / 0.9393 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/0.1865, allocations: 4 kB / 0.9393 GB, free: 16.87 MB / 0.5886 GB Notification: Performance of Templates: time 0.002302/0.1888, allocations: 0.6005 MB / 0.9399 GB, free: 16.27 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)