Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002109/0.002109, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.0027/0.0027, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.585/1.585, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 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 3.151/3.151, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_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.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.431e-05, allocations: 9.109 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.0035/0.003534, allocations: 1.488 MB / 0.8123 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.00485, allocations: 0.5611 MB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.004896, allocations: 0 / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.004934, allocations: 7.875 kB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.48e-05/0.004999, allocations: 4 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007583/0.005757, allocations: 166.1 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.005863, allocations: 51.83 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.0059, allocations: 4 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.006, allocations: 31.91 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.006056, allocations: 16.5 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.006076, allocations: 4 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.006582, allocations: 275.9 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.006619, allocations: 20.44 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.006658, allocations: 13.19 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.007055, allocations: 195.4 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.007058, allocations: 0 / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.332e-06/0.00706, allocations: 0 / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.007065, allocations: 0.5312 kB / 0.8136 GB, free: 15.26 MB / 0.7761 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.0007191/0.007784, allocations: 319.2 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.007829, allocations: 8.031 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.007905, allocations: 18.05 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.008065, allocations: 121.7 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.008097, allocations: 4.375 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.008135, allocations: 9.375 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.008468, allocations: 125.6 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.008483, allocations: 1.125 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.0085, allocations: 4.375 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.008512, allocations: 8.359 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.008782, allocations: 56.89 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.009423, allocations: 249.5 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.009744, allocations: 79.91 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.009873, allocations: 32.78 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.009907, allocations: 1.438 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.009956, allocations: 42.48 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.009957, allocations: 0 / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.001839/0.0118, allocations: 0.5025 MB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.01185, allocations: 51.91 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.01199, allocations: 107.8 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.01203, allocations: 25.7 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.01212, allocations: 96.06 kB / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.01218, allocations: 35.66 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.01226, allocations: 29.7 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002266/0.01249, allocations: 320.5 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.01269, allocations: 31.97 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.01285, allocations: 35.97 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.01312, allocations: 69.19 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01312, allocations: 4 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003698/0.01349, allocations: 127.4 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.01351, allocations: 8 kB / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01351, allocations: 3.938 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.01353, allocations: 1.281 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.0137, allocations: 27.92 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.01371, allocations: 3.984 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.01379, allocations: 4.844 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.01381, allocations: 11.98 kB / 0.8161 GB, free: 12.51 MB / 0.7761 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.0001153/0.01392, allocations: 120.5 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.01396, allocations: 4 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004353/0.0144, allocations: 125.7 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.0144, allocations: 0 / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01441, allocations: 0 / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.01441, allocations: 6.703 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006772/0.01509, allocations: 326.2 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01509, allocations: 0 / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.01525, allocations: 27.97 kB / 0.8166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.01526, allocations: 4 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01527, allocations: 0.9375 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.01528, allocations: 3.938 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.01528, allocations: 4 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009042/0.01618, allocations: 260.7 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.0162, allocations: 5.156 kB / 0.8169 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01622, allocations: 7.984 kB / 0.8169 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.01635, allocations: 9.047 kB / 0.8169 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.01638, allocations: 7.984 kB / 0.8169 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.01639, allocations: 8 kB / 0.8169 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.98e-05/0.01645, allocations: 80.41 kB / 0.817 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01645, allocations: 0 / 0.817 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003311/0.01678, allocations: 43.8 kB / 0.8171 GB, free: 11.43 MB / 0.7761 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.0003028/0.01708, allocations: 136.8 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.01744, allocations: 75.95 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01744, allocations: 0.875 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.01762, allocations: 47.84 kB / 0.8173 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.01797, allocations: 19.2 kB / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007528/0.01873, allocations: 261.9 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.01884, allocations: 87.12 kB / 0.8177 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.484e-05/0.0189, allocations: 8.734 kB / 0.8177 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.01894, allocations: 12.5 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.01895, allocations: 0 / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.004717/0.02366, allocations: 1.153 MB / 0.8188 GB, free: 9.648 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.163248055963777]