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.001403/0.001403, allocations: 78.02 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001586/0.001586, allocations: 158.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.65/2.65, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003404/0.003404, allocations: 67.91 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3421, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002713/0.3449, allocations: 1.491 MB / 1.119 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.346, allocations: 0.5566 MB / 1.119 GB, free: 476 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.346, allocations: 0 / 1.119 GB, free: 476 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.3461, allocations: 3.938 kB / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.224e-05/0.3461, allocations: 7.938 kB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.3467, allocations: 166 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.356e-05/0.3468, allocations: 51.78 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.3469, allocations: 11.98 kB / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.142e-05/0.3469, allocations: 27.91 kB / 1.12 GB, free: 208 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.347, allocations: 19.91 kB / 1.12 GB, free: 188 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.347, allocations: 4 kB / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.3475, allocations: 271.5 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.3475, allocations: 15.92 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.3475, allocations: 15.94 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.3478, allocations: 167.4 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3478, allocations: 4 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3478, allocations: 0 / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3478, allocations: 7.984 kB / 1.12 GB, free: 15.71 MB / 1.076 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.0006624/0.3485, allocations: 321.8 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3485, allocations: 8.031 kB / 1.121 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.3486, allocations: 8.891 kB / 1.121 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3487, allocations: 118.4 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3487, allocations: 8.375 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3488, allocations: 8.328 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.3491, allocations: 129.6 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3491, allocations: 192 / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3491, allocations: 11.94 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3491, allocations: 7.984 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.3494, allocations: 47.95 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.3499, allocations: 260.3 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.3502, allocations: 74.53 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.3503, allocations: 36.78 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3504, allocations: 7.938 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3504, allocations: 34.56 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.3504, allocations: 0 / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.001678/0.3521, allocations: 0.4958 MB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3521, allocations: 55.41 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3522, allocations: 101.8 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3522, allocations: 29.64 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.3523, allocations: 96.03 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.3523, allocations: 35.69 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.3524, allocations: 33.7 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3525, allocations: 318.8 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3527, allocations: 31.97 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.3528, allocations: 35.98 kB / 1.122 GB, free: 13.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.3531, allocations: 73.64 kB / 1.122 GB, free: 13.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3531, allocations: 0 / 1.122 GB, free: 13.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003369/0.3534, allocations: 123.8 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3534, allocations: 8 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3535, allocations: 0 / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3535, allocations: 0 / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3536, allocations: 35.98 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3536, allocations: 0 / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.3537, allocations: 4 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.3537, allocations: 11.92 kB / 1.123 GB, free: 12.94 MB / 1.076 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.0001034/0.3538, allocations: 117.8 kB / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.3539, allocations: 3.953 kB / 1.123 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/0.3543, allocations: 129.7 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3543, allocations: 0 / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3543, allocations: 0 / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.3543, allocations: 11.98 kB / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.3548, allocations: 322.1 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3548, allocations: 0 / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.355, allocations: 27.97 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.355, allocations: 0 / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.355, allocations: 4 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.355, allocations: 0 / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.355, allocations: 11.88 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.3556, allocations: 247.4 kB / 1.123 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.3556, allocations: 4.141 kB / 1.123 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.3556, allocations: 8.031 kB / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3557, allocations: 7.984 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.3558, allocations: 15.91 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3558, allocations: 4 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.3558, allocations: 79.28 kB / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3558, allocations: 0 / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003127/0.3561, allocations: 43.86 kB / 1.124 GB, free: 11.86 MB / 1.076 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.0002581/0.3564, allocations: 139.1 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.3567, allocations: 79.83 kB / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3568, allocations: 0 / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.3569, allocations: 48.34 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3572, allocations: 10.72 kB / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.358, allocations: 321.8 kB / 1.124 GB, free: 11.24 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.828e-05/0.358, allocations: 71.34 kB / 1.124 GB, free: 11.15 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.022e-05/0.3581, allocations: 16.66 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.3581, allocations: 12.5 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of SimCode: time 9.02e-07/0.3581, allocations: 4 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of Templates: time 0.004361/0.3625, allocations: 1.122 MB / 1.125 GB, free: 10.05 MB / 1.076 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 -s ida -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/jenkins1/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: 8.585778034990653]