Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001517/0.001517, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001802/0.001802, allocations: 208.8 kB / 22.99 MB, free: 4.957 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.174/3.174, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.002023/0.002023, allocations: 79.48 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3289, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002471/0.3314, allocations: 1.3 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3325, allocations: 0.541 MB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.3326, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.3326, allocations: 7.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.28e-05/0.3326, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.3332, allocations: 163.3 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.09e-05/0.3333, allocations: 23.92 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.3334, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.3334, allocations: 15.92 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.3334, allocations: 19.86 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3335, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.3339, allocations: 291.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.3339, allocations: 4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.3339, allocations: 7.938 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.3342, allocations: 143.6 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3342, allocations: 7.938 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3342, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3342, allocations: 3.938 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004304/0.3346, allocations: 295.6 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3347, allocations: 12.03 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.3347, allocations: 0.9375 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3348, allocations: 110.5 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3348, allocations: 4.375 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.3349, allocations: 4.375 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.335, allocations: 109.6 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.335, allocations: 192 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.335, allocations: 3.938 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3351, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.664e-05/0.3351, allocations: 27.92 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.3353, allocations: 117.2 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3354, allocations: 50.56 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.3354, allocations: 32.84 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3355, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3355, allocations: 38.56 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.3355, allocations: 0 / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001146/0.3366, allocations: 439.9 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.3367, allocations: 55.34 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.3367, allocations: 97.84 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3368, allocations: 29.83 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.3368, allocations: 88.14 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.3369, allocations: 47.56 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.3369, allocations: 25.72 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.337, allocations: 314.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.3371, allocations: 20 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/0.3371, allocations: 23.98 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.749e-05/0.3372, allocations: 60.39 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3372, allocations: 3.938 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001621/0.3374, allocations: 101.6 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3374, allocations: 15.88 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3374, allocations: 4 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3374, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3375, allocations: 19.98 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3375, allocations: 4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.3376, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3376, allocations: 8 kB / 1.332 GB, free: 12.14 MB / 1.029 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 8.498e-05/0.3377, allocations: 110.4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.3377, allocations: 7.938 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.3379, allocations: 101.7 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3379, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.3379, allocations: 7.984 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3379, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.3383, allocations: 298.2 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3383, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.3384, allocations: 27.98 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3384, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3384, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3384, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3384, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.3387, allocations: 223.3 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.3387, allocations: 7.984 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.3387, allocations: 12 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.282e-05/0.3388, allocations: 4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.3388, allocations: 3.984 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3388, allocations: 8 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.3389, allocations: 79.28 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3389, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002772/0.3392, allocations: 39.86 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002158/0.3394, allocations: 127.1 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.3395, allocations: 67.94 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3395, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.816e-05/0.3396, allocations: 28 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3398, allocations: 12.53 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.3404, allocations: 285.3 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.359e-05/0.3405, allocations: 67.34 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.551e-05/0.3405, allocations: 15.97 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.3405, allocations: 15.44 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3405, allocations: 0 / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of Templates: time 0.003632/0.3442, allocations: 0.9837 MB / 1.334 GB, free: 9.551 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.545080230993335]