Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002936/0.002936, allocations: 161.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.215 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.751/2.751, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.954e-05, allocations: 4.844 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002973/0.003003, allocations: 1.477 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004206, allocations: 0.5658 MB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.004249, allocations: 4 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.004281, allocations: 7.922 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.004334, allocations: 3.938 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.005007, allocations: 168.8 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.621e-05/0.005104, allocations: 53.23 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.207e-05/0.005136, allocations: 0 / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.005232, allocations: 43.89 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/0.005274, allocations: 7.984 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.005289, allocations: 5.062 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.005788, allocations: 287.3 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.00581, allocations: 7.938 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.005852, allocations: 21.19 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.006206, allocations: 183.5 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.006208, allocations: 4 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.006208, allocations: 1.438 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.006212, allocations: 0 / 0.7891 GB, free: 9.98 MB / 0.7448 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.0006581/0.00687, allocations: 328.6 kB / 0.7895 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.006907, allocations: 8.031 kB / 0.7895 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.006968, allocations: 16.89 kB / 0.7895 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.007097, allocations: 109.7 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.007123, allocations: 4.375 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.007158, allocations: 12.38 kB / 0.7896 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.007457, allocations: 129.6 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.00747, allocations: 0.9062 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.007487, allocations: 4.375 kB / 0.7897 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.007494, allocations: 6.031 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.007746, allocations: 51.89 kB / 0.7898 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.008326, allocations: 261.6 kB / 0.79 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.008632, allocations: 76.12 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.008761, allocations: 32.78 kB / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.008789, allocations: 4 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.00883, allocations: 36.34 kB / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.008831, allocations: 0 / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.001788/0.01062, allocations: 0.5094 MB / 0.7907 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.01066, allocations: 51.94 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.01077, allocations: 101.8 kB / 0.7908 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.0108, allocations: 35.02 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.01086, allocations: 84.08 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.01091, allocations: 43.64 kB / 0.791 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.01097, allocations: 34.23 kB / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.01114, allocations: 314.8 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.01129, allocations: 37.34 kB / 0.7914 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.01142, allocations: 34.61 kB / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.01169, allocations: 69.92 kB / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.01169, allocations: 0 / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003554/0.01205, allocations: 130.9 kB / 0.7916 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01206, allocations: 8 kB / 0.7916 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01207, allocations: 1.75 kB / 0.7916 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.01209, allocations: 0 / 0.7916 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.01224, allocations: 27.97 kB / 0.7916 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01225, allocations: 3.984 kB / 0.7916 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.01231, allocations: 8.75 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.01232, allocations: 4 kB / 0.7916 GB, free: 7.227 MB / 0.7448 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 0.0001084/0.01243, allocations: 122.7 kB / 0.7917 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.01248, allocations: 4 kB / 0.7917 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.01289, allocations: 123.1 kB / 0.7919 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01289, allocations: 4 kB / 0.7919 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01289, allocations: 0.75 kB / 0.7919 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.01289, allocations: 0 / 0.7919 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.0135, allocations: 335.9 kB / 0.7922 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.0135, allocations: 0 / 0.7922 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.01366, allocations: 23.98 kB / 0.7922 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01366, allocations: 0.8125 kB / 0.7922 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.01367, allocations: 4 kB / 0.7922 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.01368, allocations: 7.391 kB / 0.7922 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01368, allocations: 0 / 0.7922 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.01425, allocations: 263.5 kB / 0.7925 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.01426, allocations: 4.031 kB / 0.7925 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.01428, allocations: 0 / 0.7925 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.01441, allocations: 12 kB / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.01443, allocations: 7.984 kB / 0.7925 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.01444, allocations: 0.625 kB / 0.7925 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.0145, allocations: 87.27 kB / 0.7926 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0145, allocations: 0.5 kB / 0.7926 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000307/0.01481, allocations: 45.53 kB / 0.7926 GB, free: 6.148 MB / 0.7448 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.0002511/0.01506, allocations: 139 kB / 0.7928 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.0154, allocations: 79.73 kB / 0.7928 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01541, allocations: 4.562 kB / 0.7928 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.01557, allocations: 46.44 kB / 0.7929 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.01589, allocations: 9.688 kB / 0.7929 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.01661, allocations: 266 kB / 0.7931 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.165e-05/0.01671, allocations: 79.27 kB / 0.7932 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.344e-05/0.01677, allocations: 16.72 kB / 0.7932 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.01682, allocations: 20.48 kB / 0.7933 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01682, allocations: 0 / 0.7933 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of Templates: time 0.004509/0.02133, allocations: 1.156 MB / 0.7944 GB, free: 4.367 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.697227597003803]