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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.396/2.396, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001296/0.001296, allocations: 185.1 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.462/2.462, allocations: 225.6 MB / 0.6001 GB, free: 2.742 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.0009285/0.0009283, allocations: 102.2 kB / 0.7074 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004888, allocations: 12.62 kB / 0.8242 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2007, allocations: 109.1 MB / 0.9308 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001717/0.2024, allocations: 1.178 MB / 0.9319 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2037, allocations: 0.5812 MB / 0.9325 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.2038, allocations: 0 / 0.9325 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.2038, allocations: 3.938 kB / 0.9325 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/0.2039, allocations: 3.938 kB / 0.9325 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.2046, allocations: 143.5 kB / 0.9326 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.961e-05/0.2047, allocations: 51.59 kB / 0.9327 GB, free: 41.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.2047, allocations: 7.906 kB / 0.9327 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.2048, allocations: 19.92 kB / 0.9327 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.2048, allocations: 23.91 kB / 0.9327 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.2049, allocations: 4 kB / 0.9327 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000641/0.2055, allocations: 343.3 kB / 0.9331 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.2056, allocations: 7.938 kB / 0.9331 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.2056, allocations: 29.7 kB / 0.9331 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.2059, allocations: 128 kB / 0.9332 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2059, allocations: 0 / 0.9332 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2059, allocations: 3.938 kB / 0.9332 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2059, allocations: 0 / 0.9332 GB, free: 40.81 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006844/0.2066, allocations: 387.4 kB / 0.9336 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2066, allocations: 14.84 kB / 0.9336 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.2067, allocations: 4.938 kB / 0.9336 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.2068, allocations: 172.3 kB / 0.9338 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.2069, allocations: 8.375 kB / 0.9338 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.2069, allocations: 12.28 kB / 0.9338 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.2072, allocations: 78.22 kB / 0.9339 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2073, allocations: 192 / 0.9339 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.2073, allocations: 3.938 kB / 0.9339 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2073, allocations: 4 kB / 0.9339 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.2078, allocations: 63.94 kB / 0.9339 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006692/0.2084, allocations: 332.6 kB / 0.9343 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.2089, allocations: 82.53 kB / 0.9343 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.2091, allocations: 36.83 kB / 0.9344 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.2092, allocations: 4 kB / 0.9344 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.2092, allocations: 38.5 kB / 0.9344 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.2092, allocations: 0 / 0.9344 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.00237/0.2116, allocations: 0.6735 MB / 0.9351 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2117, allocations: 55.41 kB / 0.9351 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.2117, allocations: 101.8 kB / 0.9352 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2118, allocations: 25.7 kB / 0.9352 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.2118, allocations: 92.12 kB / 0.9353 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.2119, allocations: 43.34 kB / 0.9354 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.2119, allocations: 0 / 0.9354 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.2119, allocations: 318.8 kB / 0.9357 GB, free: 38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.2122, allocations: 39.97 kB / 0.9357 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.2124, allocations: 27.98 kB / 0.9357 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.2127, allocations: 44.23 kB / 0.9358 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2127, allocations: 4 kB / 0.9358 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005367/0.2132, allocations: 125.7 kB / 0.9359 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2133, allocations: 4 kB / 0.9359 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2133, allocations: 7.938 kB / 0.9359 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2133, allocations: 0 / 0.9359 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.2136, allocations: 35.97 kB / 0.9359 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2136, allocations: 4.094 kB / 0.936 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.2137, allocations: 11.88 kB / 0.936 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2138, allocations: 8 kB / 0.936 GB, free: 37.69 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8e-05/0.2138, allocations: 114.3 kB / 0.9361 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.2139, allocations: 7.906 kB / 0.9361 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.2145, allocations: 133.6 kB / 0.9362 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2145, allocations: 4 kB / 0.9362 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2145, allocations: 0 / 0.9362 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2145, allocations: 3.938 kB / 0.9362 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/0.2153, allocations: 390.4 kB / 0.9366 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2153, allocations: 0 / 0.9366 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.2157, allocations: 27.98 kB / 0.9366 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2157, allocations: 0 / 0.9366 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.2157, allocations: 11.94 kB / 0.9366 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2157, allocations: 0 / 0.9366 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2157, allocations: 0 / 0.9366 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/0.2165, allocations: 267.3 kB / 0.9369 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.2166, allocations: 85 kB / 0.937 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.2166, allocations: 8.125 kB / 0.937 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.2168, allocations: 12.06 kB / 0.937 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.2169, allocations: 11.97 kB / 0.937 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.2169, allocations: 8 kB / 0.937 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.928e-05/0.2169, allocations: 75.28 kB / 0.9371 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.217, allocations: 0 / 0.9371 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003562/0.2173, allocations: 47.92 kB / 0.9371 GB, free: 36.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002456/0.2176, allocations: 136.6 kB / 0.9373 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005243/0.2181, allocations: 99.81 kB / 0.9373 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2181, allocations: 0 / 0.9373 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.2184, allocations: 43.98 kB / 0.9374 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.2188, allocations: 14.33 kB / 0.9374 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/0.2197, allocations: 381.2 kB / 0.9378 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.2198, allocations: 0.6965 MB / 0.9384 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.397e-05/0.2199, allocations: 4.672 kB / 0.9385 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.22, allocations: 19.42 kB / 0.9385 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/0.22, allocations: 0 / 0.9385 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.004383/0.2244, allocations: 1.071 MB / 0.9395 GB, free: 33.88 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)