Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.002/0.002, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.002433/0.002433, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.519/1.519, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.918/2.918, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.648e-05, allocations: 5.375 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002328/0.002355, allocations: 1.298 MB / 0.9827 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003571, allocations: 0.541 MB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.003598, allocations: 0 / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.003617, allocations: 3.938 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.003662, allocations: 3.938 kB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.004257, allocations: 147.2 kB / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.004323, allocations: 23.86 kB / 0.9834 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.004362, allocations: 4 kB / 0.9834 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.004422, allocations: 11.98 kB / 0.9834 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.004474, allocations: 7.984 kB / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.004488, allocations: 0 / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.004959, allocations: 271.4 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.00498, allocations: 4 kB / 0.9837 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.005008, allocations: 15.94 kB / 0.9837 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.005322, allocations: 159.4 kB / 0.9839 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005325, allocations: 0 / 0.9839 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005326, allocations: 0 / 0.9839 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.00533, allocations: 0 / 0.9839 GB, free: 9.469 MB / 0.9356 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.0005433/0.005873, allocations: 286 kB / 0.9841 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.005913, allocations: 8.031 kB / 0.9841 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.005949, allocations: 4.938 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.006152, allocations: 105.8 kB / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.006163, allocations: 384 / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.006187, allocations: 8.375 kB / 0.9843 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006324, allocations: 75.89 kB / 0.9843 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.006333, allocations: 4.188 kB / 0.9843 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.006343, allocations: 384 / 0.9843 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.006347, allocations: 384 / 0.9843 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.103e-05/0.006388, allocations: 11.92 kB / 0.9843 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.006542, allocations: 109.3 kB / 0.9844 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.006744, allocations: 42.61 kB / 0.9845 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.00679, allocations: 24.92 kB / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.006808, allocations: 0 / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.006833, allocations: 34.5 kB / 0.9845 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.006834, allocations: 4 kB / 0.9845 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0007037/0.007538, allocations: 225.2 kB / 0.9848 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.007581, allocations: 59.34 kB / 0.9848 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.007664, allocations: 97.84 kB / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.007687, allocations: 25.7 kB / 0.9849 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.007745, allocations: 92.14 kB / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.007774, allocations: 11.86 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.007817, allocations: 25.7 kB / 0.9851 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.007973, allocations: 314.8 kB / 0.9854 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.007999, allocations: 8 kB / 0.9854 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.008022, allocations: 19.92 kB / 0.9854 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.016e-05/0.008093, allocations: 37 kB / 0.9854 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.008093, allocations: 0 / 0.9854 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001144/0.008208, allocations: 73.56 kB / 0.9855 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.008224, allocations: 4 kB / 0.9855 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.008229, allocations: 3.938 kB / 0.9855 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.008249, allocations: 4 kB / 0.9855 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.249e-05/0.008302, allocations: 8 kB / 0.9855 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.008311, allocations: 3.938 kB / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.008332, allocations: 4 kB / 0.9855 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.008341, allocations: 11.98 kB / 0.9855 GB, free: 7.547 MB / 0.9356 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 8.668e-05/0.008428, allocations: 105.8 kB / 0.9856 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.008441, allocations: 4 kB / 0.9856 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.008588, allocations: 73.75 kB / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.008589, allocations: 0 / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.008597, allocations: 3.938 kB / 0.9857 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.008604, allocations: 7.984 kB / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.00894, allocations: 255.1 kB / 0.986 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008942, allocations: 192 / 0.986 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.009005, allocations: 12 kB / 0.986 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.009009, allocations: 8.031 kB / 0.986 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.009018, allocations: 3.938 kB / 0.986 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.009021, allocations: 3.984 kB / 0.986 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.009022, allocations: 0 / 0.986 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.009259, allocations: 180.3 kB / 0.9862 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.009281, allocations: 8.016 kB / 0.9862 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.009296, allocations: 3.938 kB / 0.9862 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.23e-05/0.009368, allocations: 0 / 0.9862 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.009385, allocations: 4 kB / 0.9862 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.009395, allocations: 7.984 kB / 0.9862 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.772e-05/0.009462, allocations: 79.86 kB / 0.9863 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.009462, allocations: 4 kB / 0.9863 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002554/0.009718, allocations: 23.88 kB / 0.9863 GB, free: 6.703 MB / 0.9356 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.0002116/0.009929, allocations: 119.2 kB / 0.9864 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.01004, allocations: 35.86 kB / 0.9864 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.01004, allocations: 0 / 0.9864 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.01008, allocations: 16 kB / 0.9864 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01032, allocations: 7.984 kB / 0.9865 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.01074, allocations: 173.7 kB / 0.9866 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.68e-05/0.01082, allocations: 63.34 kB / 0.9867 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.432e-05/0.01085, allocations: 11.92 kB / 0.9867 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.01088, allocations: 16.5 kB / 0.9867 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of SimCode: time 6.82e-07/0.01088, allocations: 0 / 0.9867 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of Templates: time 0.00385/0.01473, allocations: 0.6545 MB / 0.9873 GB, free: 5.594 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.124088075011969]