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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 189.5 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.91/2.91, allocations: 496 MB / 0.7835 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 61.88 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3088, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002339/0.3111, allocations: 1.29 MB / 1.309 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3121, allocations: 0.6149 MB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.3122, allocations: 0 / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.3122, allocations: 3.938 kB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.24e-05/0.3122, allocations: 3.984 kB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.3128, allocations: 161.8 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.3129, allocations: 23.92 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.3129, allocations: 4 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.981e-05/0.3129, allocations: 19.86 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.313, allocations: 7.984 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.313, allocations: 7.938 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005665/0.3136, allocations: 343.4 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.3136, allocations: 4 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.3136, allocations: 11.94 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.3139, allocations: 159.5 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3139, allocations: 4 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3139, allocations: 0 / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3139, allocations: 0 / 1.31 GB, free: 15.14 MB / 1.014 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.0004972/0.3144, allocations: 290 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3145, allocations: 8.922 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3145, allocations: 8.891 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3147, allocations: 110.5 kB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3147, allocations: 8.375 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.3147, allocations: 8.312 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.3148, allocations: 54.23 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3148, allocations: 192 / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3149, allocations: 3.938 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3149, allocations: 4 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.142e-05/0.3149, allocations: 15.98 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.3151, allocations: 140.7 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.3152, allocations: 58.5 kB / 1.311 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.3153, allocations: 28.84 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3153, allocations: 4 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3153, allocations: 30.8 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3153, allocations: 3.938 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.001143/0.3165, allocations: 455.7 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3165, allocations: 55.41 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.3166, allocations: 93.84 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3166, allocations: 33.7 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.3167, allocations: 80.14 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.3167, allocations: 43.61 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.3167, allocations: 33.78 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3169, allocations: 318.8 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.3169, allocations: 19.94 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.317, allocations: 27.98 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.935e-05/0.3171, allocations: 49.98 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3171, allocations: 0 / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001469/0.3172, allocations: 108.1 kB / 1.312 GB, free: 12.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3172, allocations: 8 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3172, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3172, allocations: 4 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.3174, allocations: 23.92 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3174, allocations: 4 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.3174, allocations: 4.094 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3175, allocations: 3.938 kB / 1.312 GB, free: 12.8 MB / 1.014 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.077e-05/0.3175, allocations: 117.8 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.3175, allocations: 11.89 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.3177, allocations: 101.6 kB / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3177, allocations: 7.984 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3177, allocations: 4 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3178, allocations: 0 / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.3181, allocations: 321.6 kB / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3181, allocations: 4 kB / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.3183, allocations: 19.94 kB / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3183, allocations: 0 / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3183, allocations: 0 / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3183, allocations: 4 kB / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3183, allocations: 3.984 kB / 1.312 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.3185, allocations: 223.6 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-06/0.3185, allocations: 4.031 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3185, allocations: 4 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.3186, allocations: 4 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.3186, allocations: 3.984 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3187, allocations: 8 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.3187, allocations: 83.27 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3187, allocations: 4.156 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002509/0.3189, allocations: 39.81 kB / 1.313 GB, free: 11.77 MB / 1.014 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.0002115/0.3192, allocations: 127.9 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.3193, allocations: 63.84 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3193, allocations: 0 / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.3194, allocations: 35.92 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.3196, allocations: 0 / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.3201, allocations: 296.9 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3205, allocations: 0.6807 MB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.814e-05/0.3205, allocations: 15.92 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.3205, allocations: 15.44 kB / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.3205, allocations: 0 / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of Templates: time 0.003519/0.324, allocations: 1.002 MB / 1.315 GB, free: 9.52 MB / 1.014 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 -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/jenkins/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.127263187430799]