Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 297.4 MB / 312.6 MB, free: 2.91 MB / 234.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.001167/0.001167, allocations: 190 kB / 382.3 MB, free: 14.8 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.439/1.439, allocations: 225.7 MB / 0.6617 GB, free: 7.195 MB / 490.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.0007492/0.0007494, allocations: 94.88 kB / 0.7789 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 12 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6364/0.6368, allocations: 119.2 MB / 1.022 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00169/0.6385, allocations: 1.188 MB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.6397, allocations: 1.07 MB / 1.024 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.6397, allocations: 0 / 1.024 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.6397, allocations: 6.484 kB / 1.024 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.6398, allocations: 3.625 kB / 1.024 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.6404, allocations: 141.5 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.649e-05/0.6405, allocations: 48.91 kB / 1.025 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.6406, allocations: 3.344 kB / 1.025 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.607e-05/0.6406, allocations: 24.38 kB / 1.025 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.6407, allocations: 27.11 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.6407, allocations: 3.344 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006014/0.6413, allocations: 341.2 kB / 1.025 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.6414, allocations: 14.81 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.6414, allocations: 46.12 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.6417, allocations: 177.4 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6417, allocations: 1.781 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6417, allocations: 0 / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.6418, allocations: 1.438 kB / 1.025 GB, free: 56.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005302/0.6423, allocations: 390.9 kB / 1.026 GB, free: 56.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.6423, allocations: 8.219 kB / 1.026 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.6424, allocations: 12.75 kB / 1.026 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.6425, allocations: 172.2 kB / 1.026 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.6425, allocations: 4.047 kB / 1.026 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.6425, allocations: 14.5 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.6428, allocations: 81.16 kB / 1.026 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.6428, allocations: 192 / 1.026 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.6428, allocations: 6.234 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.6428, allocations: 1.812 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.6431, allocations: 58.72 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.6436, allocations: 331.8 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.6439, allocations: 84.84 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.644, allocations: 32.16 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.644, allocations: 5.938 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.6441, allocations: 38.12 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.6441, allocations: 0 / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001526/0.6456, allocations: 0.6705 MB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.6457, allocations: 57.72 kB / 1.027 GB, free: 54.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.6457, allocations: 105.2 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.6457, allocations: 26.83 kB / 1.027 GB, free: 54.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.6458, allocations: 98.67 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.6458, allocations: 41.42 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.6458, allocations: 4 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.6459, allocations: 313 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.646, allocations: 36.56 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.6461, allocations: 35.97 kB / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.6464, allocations: 83.17 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.6464, allocations: 0 / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002797/0.6466, allocations: 128.2 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6467, allocations: 13.66 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.6467, allocations: 0 / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6467, allocations: 0.7031 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.6469, allocations: 34.06 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.6469, allocations: 2.594 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.6469, allocations: 11.23 kB / 1.028 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.647, allocations: 4.078 kB / 1.028 GB, free: 54.15 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 6.024e-05/0.647, allocations: 121.5 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.647, allocations: 2.906 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.6474, allocations: 136.3 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6474, allocations: 1.406 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6474, allocations: 1.406 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.6474, allocations: 9.984 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.6479, allocations: 396 kB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6479, allocations: 0 / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.6481, allocations: 28.31 kB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6481, allocations: 0 / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.6481, allocations: 9.188 kB / 1.029 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6481, allocations: 1.938 kB / 1.029 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6481, allocations: 0 / 1.029 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.6486, allocations: 268.6 kB / 1.029 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.6486, allocations: 85.66 kB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.6486, allocations: 5.938 kB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.6487, allocations: 9.281 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.6488, allocations: 9.938 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.6488, allocations: 3.344 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.505e-05/0.6488, allocations: 82.61 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6488, allocations: 1.281 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002518/0.6491, allocations: 46.06 kB / 1.029 GB, free: 53.23 MB / 0.698 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 (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.0001935/0.6493, allocations: 133.9 kB / 1.029 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.6496, allocations: 93.22 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6496, allocations: 0 / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.6497, allocations: 52.73 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.65, allocations: 8.625 kB / 1.03 GB, free: 53.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.6506, allocations: 385.1 kB / 1.03 GB, free: 52.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.6508, allocations: 0.6927 MB / 1.031 GB, free: 52.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.359e-05/0.6508, allocations: 14.39 kB / 1.031 GB, free: 52.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.6509, allocations: 13.78 kB / 1.031 GB, free: 52.12 MB / 0.698 GB Notification: Performance of SimCode: time 1.91e-07/0.6509, allocations: 0 / 1.031 GB, free: 52.12 MB / 0.698 GB Notification: Performance of Templates: time 0.003413/0.6543, allocations: 1.101 MB / 1.032 GB, free: 52.02 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)