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.001102/0.001102, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001814/0.001814, allocations: 166 kB / 24.87 MB, free: 9.258 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 0.9961/0.9961, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.839/1.839, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] 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_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 1.353e-06/1.353e-06, allocations: 0 / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.757e-05, allocations: 2.312 kB / 0.8128 GB, free: 324 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001657/0.001674, allocations: 1.334 MB / 0.8141 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007293/0.002403, allocations: 0.5798 MB / 0.8146 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.00243, allocations: 0 / 0.8146 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.00245, allocations: 3.938 kB / 0.8146 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.00249, allocations: 4.469 kB / 0.8146 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.002981, allocations: 148.6 kB / 0.8148 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.003034, allocations: 28.39 kB / 0.8148 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.003067, allocations: 5.359 kB / 0.8148 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.0031, allocations: 19.97 kB / 0.8148 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.003154, allocations: 12 kB / 0.8149 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.003166, allocations: 0 / 0.8149 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.003449, allocations: 272.5 kB / 0.8151 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.003465, allocations: 7.984 kB / 0.8151 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.003483, allocations: 11.92 kB / 0.8151 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.00367, allocations: 168.6 kB / 0.8153 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003672, allocations: 0 / 0.8153 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003673, allocations: 0 / 0.8153 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003677, allocations: 1.094 kB / 0.8153 GB, free: 13.75 MB / 0.7292 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.0002832/0.00396, allocations: 388 kB / 0.8157 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.003991, allocations: 8.031 kB / 0.8157 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.004021, allocations: 13.73 kB / 0.8157 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.338e-05/0.004094, allocations: 124.5 kB / 0.8158 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.004104, allocations: 5.719 kB / 0.8158 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.004121, allocations: 4.375 kB / 0.8158 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.237e-05/0.004203, allocations: 97.66 kB / 0.8159 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.004212, allocations: 6.875 kB / 0.8159 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.004218, allocations: 384 / 0.8159 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.004222, allocations: 384 / 0.8159 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.004245, allocations: 15.92 kB / 0.8159 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.004364, allocations: 105.3 kB / 0.816 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.314e-05/0.004437, allocations: 59.09 kB / 0.8161 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.004457, allocations: 23.67 kB / 0.8161 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.004469, allocations: 0.5 kB / 0.8161 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.004488, allocations: 41.86 kB / 0.8161 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.00449, allocations: 1.938 kB / 0.8161 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0006165/0.005106, allocations: 440.6 kB / 0.8166 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.005131, allocations: 61.03 kB / 0.8166 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.45e-05/0.005185, allocations: 153.9 kB / 0.8168 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.005196, allocations: 29.7 kB / 0.8168 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.005234, allocations: 126.9 kB / 0.8169 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.005266, allocations: 40.55 kB / 0.817 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.005299, allocations: 35.36 kB / 0.817 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.005399, allocations: 0.4928 MB / 0.8175 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.005415, allocations: 11.98 kB / 0.8175 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.00543, allocations: 8.688 kB / 0.8175 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.005477, allocations: 50.55 kB / 0.8175 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.005478, allocations: 0.8438 kB / 0.8175 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.102e-05/0.005559, allocations: 81.69 kB / 0.8176 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.005569, allocations: 4.844 kB / 0.8176 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005574, allocations: 3.984 kB / 0.8176 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/0.00558, allocations: 5.281 kB / 0.8176 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.005643, allocations: 19.98 kB / 0.8177 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.005646, allocations: 3.938 kB / 0.8177 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.005659, allocations: 4.844 kB / 0.8177 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.005663, allocations: 3.938 kB / 0.8177 GB, free: 11.07 MB / 0.7292 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 5.708e-05/0.00572, allocations: 161.8 kB / 0.8178 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.005732, allocations: 11.95 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.964e-05/0.005832, allocations: 85.78 kB / 0.8179 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005834, allocations: 5.312 kB / 0.8179 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.005837, allocations: 7.938 kB / 0.8179 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.00584, allocations: 3.938 kB / 0.8179 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.006065, allocations: 319.6 kB / 0.8182 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.006068, allocations: 3.984 kB / 0.8182 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.006127, allocations: 16 kB / 0.8183 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.00613, allocations: 0 / 0.8183 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.006135, allocations: 0 / 0.8183 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006137, allocations: 9.062 kB / 0.8183 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006138, allocations: 0 / 0.8183 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.00629, allocations: 251.7 kB / 0.8185 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-06/0.006299, allocations: 8.969 kB / 0.8185 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.006308, allocations: 0 / 0.8185 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.006349, allocations: 13.06 kB / 0.8185 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.006363, allocations: 7.984 kB / 0.8185 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006367, allocations: 0 / 0.8185 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.006398, allocations: 124.2 kB / 0.8187 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006398, allocations: 0 / 0.8187 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001719/0.00657, allocations: 39.86 kB / 0.8187 GB, free: 9.953 MB / 0.7292 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.0001257/0.006695, allocations: 132.9 kB / 0.8188 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.006772, allocations: 51.59 kB / 0.8189 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006774, allocations: 0 / 0.8189 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.0068, allocations: 40.47 kB / 0.8189 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.006941, allocations: 8.656 kB / 0.8189 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.007383, allocations: 254.6 kB / 0.8192 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.007414, allocations: 59.36 kB / 0.8192 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.007444, allocations: 7.984 kB / 0.8192 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.007495, allocations: 82.2 kB / 0.8193 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.007496, allocations: 0 / 0.8193 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of Templates: time 0.002416/0.009912, allocations: 1.083 MB / 0.8204 GB, free: 8.246 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.92765723913908]