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_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.164/2.164, allocations: 254.9 MB / 269.9 MB, free: 9.629 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.001405/0.001404, allocations: 196.5 kB / 329.5 MB, free: 1.137 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.688/2.688, allocations: 225.6 MB / 0.6001 GB, free: 2.141 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.0009789/0.0009783, allocations: 103.9 kB / 0.7074 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006619/0.0006621, allocations: 10.66 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2011, allocations: 109.1 MB / 0.9308 GB, free: 25.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001963/0.2031, allocations: 0.993 MB / 0.9317 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.2047, allocations: 0.5611 MB / 0.9323 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.2048, allocations: 4 kB / 0.9323 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.2049, allocations: 4 kB / 0.9323 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.2049, allocations: 0 / 0.9323 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008712/0.2058, allocations: 131.5 kB / 0.9324 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.2059, allocations: 15.94 kB / 0.9324 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.206, allocations: 3.984 kB / 0.9324 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.206, allocations: 4 kB / 0.9325 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.2061, allocations: 7.938 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.2062, allocations: 4 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009294/0.2071, allocations: 339.3 kB / 0.9328 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.2071, allocations: 7.984 kB / 0.9328 GB, free: 23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.2072, allocations: 25.7 kB / 0.9328 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.2075, allocations: 96.11 kB / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2076, allocations: 0 / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2076, allocations: 0 / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2076, allocations: 0 / 0.9329 GB, free: 22.88 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.0004809/0.2081, allocations: 363.4 kB / 0.9333 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.2082, allocations: 12.03 kB / 0.9333 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.2082, allocations: 0.9375 kB / 0.9333 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2084, allocations: 168.3 kB / 0.9334 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2084, allocations: 384 / 0.9334 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.2084, allocations: 4.359 kB / 0.9334 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.2086, allocations: 42.25 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2086, allocations: 192 / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.2086, allocations: 3.938 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2087, allocations: 0 / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.584e-05/0.2087, allocations: 15.98 kB / 0.9335 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.209, allocations: 165.6 kB / 0.9337 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.2093, allocations: 42.5 kB / 0.9337 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.2094, allocations: 16.86 kB / 0.9337 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.2094, allocations: 0 / 0.9337 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2095, allocations: 38.56 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.2095, allocations: 0 / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0008865/0.2104, allocations: 318.2 kB / 0.934 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.2104, allocations: 51.41 kB / 0.9341 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.2105, allocations: 97.86 kB / 0.9342 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.2106, allocations: 25.7 kB / 0.9342 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.2106, allocations: 80.14 kB / 0.9343 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.2107, allocations: 27.69 kB / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.2107, allocations: 0 / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.2108, allocations: 318.8 kB / 0.9346 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.2108, allocations: 8 kB / 0.9346 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.883e-05/0.2109, allocations: 19.92 kB / 0.9346 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/0.211, allocations: 8 kB / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.211, allocations: 0 / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001992/0.2112, allocations: 65.69 kB / 0.9347 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.2112, allocations: 7.938 kB / 0.9347 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2113, allocations: 0 / 0.9347 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2113, allocations: 4 kB / 0.9347 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2114, allocations: 8 kB / 0.9347 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.2115, allocations: 4 kB / 0.9347 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.2115, allocations: 0 / 0.9347 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2115, allocations: 4 kB / 0.9347 GB, free: 20.73 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 8.117e-05/0.2116, allocations: 117.8 kB / 0.9349 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.2117, allocations: 7.938 kB / 0.9349 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.2119, allocations: 74.14 kB / 0.9349 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2119, allocations: 0 / 0.9349 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2119, allocations: 0 / 0.9349 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.212, allocations: 0 / 0.9349 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.2124, allocations: 327.3 kB / 0.9352 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2124, allocations: 3.984 kB / 0.9353 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.2126, allocations: 12 kB / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.2126, allocations: 0 / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2127, allocations: 7.938 kB / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2127, allocations: 0 / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2127, allocations: 0 / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.213, allocations: 188.2 kB / 0.9354 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.2131, allocations: 85.12 kB / 0.9355 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.2131, allocations: 0 / 0.9355 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.2133, allocations: 4 kB / 0.9355 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.2133, allocations: 4 kB / 0.9355 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.2133, allocations: 4 kB / 0.9355 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.2134, allocations: 75.28 kB / 0.9356 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2134, allocations: 0 / 0.9356 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005534/0.214, allocations: 31.98 kB / 0.9356 GB, free: 19.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0002721/0.2143, allocations: 127.8 kB / 0.9358 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.2145, allocations: 35.92 kB / 0.9358 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2145, allocations: 0 / 0.9358 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.948e-05/0.2146, allocations: 15.94 kB / 0.9358 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.215, allocations: 7.938 kB / 0.9358 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.2157, allocations: 225.8 kB / 0.936 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.2159, allocations: 0.681 MB / 0.9367 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.759e-05/0.216, allocations: 4.375 kB / 0.9367 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.216, allocations: 11.44 kB / 0.9367 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of SimCode: time 1.263e-06/0.2161, allocations: 0 / 0.9367 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of Templates: time 0.004933/0.221, allocations: 0.6206 MB / 0.9373 GB, free: 17.91 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)