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_dp_DerivativeCheck.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") 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.803/1.803, allocations: 297.4 MB / 312.6 MB, free: 2.953 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.001058/0.001058, allocations: 178 kB / 382.3 MB, free: 14.85 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.382/1.382, allocations: 225.7 MB / 0.6617 GB, free: 7.227 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.0007614/0.0007614, allocations: 94.53 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 15.98 kB / 0.9058 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5477, allocations: 119.2 MB / 1.022 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001718/0.5495, allocations: 1.004 MB / 1.023 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.5507, allocations: 1.047 MB / 1.024 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.5507, allocations: 3.938 kB / 1.024 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.5508, allocations: 1.031 kB / 1.024 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.5508, allocations: 6.062 kB / 1.024 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.5513, allocations: 127 kB / 1.024 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.5513, allocations: 21.3 kB / 1.024 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.5514, allocations: 2 kB / 1.024 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.5514, allocations: 5.547 kB / 1.024 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.5515, allocations: 15.66 kB / 1.024 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.5515, allocations: 3.062 kB / 1.024 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.552, allocations: 334.2 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.5521, allocations: 6.781 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.5521, allocations: 33.03 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.5524, allocations: 146.3 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5524, allocations: 0.9844 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5524, allocations: 0.75 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.5524, allocations: 0 / 1.025 GB, free: 55.97 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003241/0.5527, allocations: 351.5 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.5528, allocations: 9.625 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.5528, allocations: 8.203 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.5529, allocations: 166.5 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.5529, allocations: 3.031 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.553, allocations: 1.75 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.5531, allocations: 41.73 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5531, allocations: 1.906 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5531, allocations: 3.938 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5531, allocations: 2.391 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.959e-05/0.5531, allocations: 18.61 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.5533, allocations: 157.8 kB / 1.026 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.5535, allocations: 44.64 kB / 1.026 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.5535, allocations: 18.5 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.5535, allocations: 1.5 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.5536, allocations: 34.16 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5536, allocations: 0 / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005344/0.5541, allocations: 309.1 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.5541, allocations: 53.66 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.647e-05/0.5542, allocations: 99.27 kB / 1.026 GB, free: 54.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.5542, allocations: 26.33 kB / 1.026 GB, free: 54.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.5542, allocations: 91.2 kB / 1.026 GB, free: 54.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.5543, allocations: 20.05 kB / 1.026 GB, free: 54.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5543, allocations: 0.9375 kB / 1.026 GB, free: 54.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.5543, allocations: 321 kB / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.5544, allocations: 11.81 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.5544, allocations: 11.67 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.62e-05/0.5545, allocations: 33.83 kB / 1.027 GB, free: 54.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5545, allocations: 1.469 kB / 1.027 GB, free: 54.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.071e-05/0.5546, allocations: 73.36 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5546, allocations: 13.41 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5546, allocations: 0.9375 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5546, allocations: 1.188 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.044e-05/0.5547, allocations: 11.83 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5547, allocations: 1.062 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.5547, allocations: 2.188 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.5547, allocations: 5.078 kB / 1.027 GB, free: 54.09 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 (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.183e-05/0.5548, allocations: 112.9 kB / 1.027 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.5548, allocations: 7.016 kB / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.555, allocations: 76.7 kB / 1.027 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.555, allocations: 1.219 kB / 1.027 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.555, allocations: 0.5625 kB / 1.027 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.555, allocations: 3.188 kB / 1.027 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.5552, allocations: 313.1 kB / 1.027 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5552, allocations: 4.031 kB / 1.027 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.5553, allocations: 12.91 kB / 1.027 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5553, allocations: 0 / 1.027 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.5553, allocations: 2.031 kB / 1.027 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5553, allocations: 0.5625 kB / 1.027 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5553, allocations: 3.438 kB / 1.027 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.5555, allocations: 176.9 kB / 1.027 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.5555, allocations: 94.06 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.5556, allocations: 1.984 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.5556, allocations: 2.594 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.5556, allocations: 4.391 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.5557, allocations: 2.984 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.266e-05/0.5557, allocations: 83.08 kB / 1.028 GB, free: 53.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5557, allocations: 3.938 kB / 1.028 GB, free: 53.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002235/0.5559, allocations: 19.94 kB / 1.028 GB, free: 53.24 MB / 0.698 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.0001723/0.5561, allocations: 134.9 kB / 1.028 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.959e-05/0.5562, allocations: 36.14 kB / 1.028 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5562, allocations: 0 / 1.028 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.467e-05/0.5562, allocations: 19.23 kB / 1.028 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.5565, allocations: 13.19 kB / 1.028 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.5568, allocations: 223.8 kB / 1.028 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.557, allocations: 0.6834 MB / 1.029 GB, free: 52.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.557, allocations: 13.12 kB / 1.029 GB, free: 52.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.557, allocations: 12.05 kB / 1.029 GB, free: 52.22 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.557, allocations: 0 / 1.029 GB, free: 52.22 MB / 0.698 GB Notification: Performance of Templates: time 0.002651/0.5597, allocations: 0.6082 MB / 1.029 GB, free: 52.15 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)