Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.766/1.766, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001022/0.001022, allocations: 187.2 kB / 393.1 MB, free: 4.074 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.531/1.531, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008161/0.0008161, allocations: 95.8 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004038, allocations: 12 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5748/0.5752, allocations: 121.3 MB / 1.041 GB, free: 58.46 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001872/0.5771, allocations: 1.009 MB / 1.042 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.5787, allocations: 1.045 MB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.5788, allocations: 1.438 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.5788, allocations: 1.031 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.064e-05/0.5789, allocations: 3.938 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/0.5797, allocations: 125.7 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.688e-05/0.5798, allocations: 18.11 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.5799, allocations: 7.281 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.5799, allocations: 3.969 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.58, allocations: 11.56 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.58, allocations: 1.438 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008087/0.5809, allocations: 336 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.5809, allocations: 5.859 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.5809, allocations: 40.33 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.5814, allocations: 148.4 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5814, allocations: 0 / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5814, allocations: 0.5 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.5814, allocations: 0.7812 kB / 1.044 GB, free: 56.58 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.0004163/0.5818, allocations: 354.8 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5819, allocations: 16.53 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.5819, allocations: 0.9375 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.455e-05/0.5821, allocations: 168.3 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.5821, allocations: 0.9375 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.5821, allocations: 5.469 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.5823, allocations: 40.95 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5823, allocations: 6.781 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.5823, allocations: 5.031 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.5824, allocations: 0 / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.5824, allocations: 11.97 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.5826, allocations: 154.8 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.5828, allocations: 46.62 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.5829, allocations: 17.86 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.583, allocations: 1.844 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.583, allocations: 44.44 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.583, allocations: 0 / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0008224/0.5838, allocations: 310.1 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.5839, allocations: 51.41 kB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.584, allocations: 101.5 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.584, allocations: 25.7 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.584, allocations: 84.88 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.5841, allocations: 26.58 kB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.5841, allocations: 0 / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.5842, allocations: 317.5 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.5843, allocations: 12.91 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.5843, allocations: 11.42 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.417e-05/0.5844, allocations: 39.12 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5844, allocations: 0 / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001436/0.5846, allocations: 63.28 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5846, allocations: 11.66 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5847, allocations: 0 / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.5847, allocations: 0.6875 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.5848, allocations: 14.03 kB / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5848, allocations: 1.766 kB / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.5849, allocations: 0.75 kB / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.5849, allocations: 2.25 kB / 1.045 GB, free: 54.68 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 7.278e-05/0.585, allocations: 116.1 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.585, allocations: 6.625 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.5852, allocations: 82.38 kB / 1.046 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5852, allocations: 0.5 kB / 1.046 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5852, allocations: 4.141 kB / 1.046 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5853, allocations: 0 / 1.046 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.5856, allocations: 319.9 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5857, allocations: 0 / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.5858, allocations: 8.781 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5858, allocations: 2.188 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.5858, allocations: 0 / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.5858, allocations: 5.125 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5858, allocations: 0 / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.586, allocations: 185.9 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.5861, allocations: 84.03 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.5861, allocations: 7.531 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.5863, allocations: 4.547 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.5863, allocations: 3.281 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.5863, allocations: 3.219 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.5864, allocations: 84.94 kB / 1.046 GB, free: 53.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5864, allocations: 0 / 1.046 GB, free: 53.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004133/0.5868, allocations: 17.44 kB / 1.046 GB, free: 53.83 MB / 0.698 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 (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.0002146/0.587, allocations: 129.3 kB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.5872, allocations: 38.88 kB / 1.046 GB, free: 53.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5872, allocations: 0 / 1.046 GB, free: 53.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.001e-05/0.5873, allocations: 18.91 kB / 1.046 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.5876, allocations: 6.875 kB / 1.046 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.5882, allocations: 233 kB / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.5884, allocations: 0.6804 MB / 1.047 GB, free: 52.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.412e-05/0.5884, allocations: 4.766 kB / 1.047 GB, free: 52.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.5885, allocations: 15.66 kB / 1.047 GB, free: 52.8 MB / 0.698 GB Notification: Performance of SimCode: time 4.1e-07/0.5885, allocations: 0 / 1.047 GB, free: 52.8 MB / 0.698 GB Notification: Performance of Templates: time 0.004027/0.5925, allocations: 0.6316 MB / 1.048 GB, free: 52.73 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)