Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001192/0.001192, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001183/0.001183, allocations: 169.3 kB / 24.87 MB, free: 8.895 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.9528/0.9528, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.896/1.896, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 7.922 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.982e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001651/0.001671, allocations: 1.319 MB / 0.8141 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000735/0.002406, allocations: 0.5784 MB / 0.8146 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.002431, allocations: 0.7812 kB / 0.8146 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.002451, allocations: 3.938 kB / 0.8146 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.002499, allocations: 1.688 kB / 0.8146 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.00291, allocations: 151.2 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.002976, allocations: 21.45 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.003012, allocations: 0 / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.003066, allocations: 15.98 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.00311, allocations: 11.92 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.003122, allocations: 1.75 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.003412, allocations: 267.4 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.003426, allocations: 4 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.297e-05/0.003439, allocations: 4 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.003626, allocations: 159.4 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003628, allocations: 1.188 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003628, allocations: 0 / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.003632, allocations: 0 / 0.8153 GB, free: 14.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002843/0.003916, allocations: 390.6 kB / 0.8156 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.003954, allocations: 8.031 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.003977, allocations: 9.234 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.251e-05/0.004049, allocations: 112.6 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.00406, allocations: 4.375 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.004073, allocations: 384 / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.878e-05/0.004142, allocations: 63.95 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.004148, allocations: 4.891 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.004153, allocations: 0.9062 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004157, allocations: 384 / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.004178, allocations: 21.52 kB / 0.8158 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.259e-05/0.004271, allocations: 93.27 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.004378, allocations: 47.09 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.004397, allocations: 16.42 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.004406, allocations: 4 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.004422, allocations: 38.33 kB / 0.816 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.004423, allocations: 0 / 0.816 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0003682/0.004791, allocations: 234.7 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.004813, allocations: 51.41 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.004881, allocations: 165.8 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.004892, allocations: 31.08 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.004924, allocations: 126.9 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.004949, allocations: 19.8 kB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.004978, allocations: 31.34 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.005087, allocations: 493.2 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/0.005096, allocations: 8 kB / 0.8171 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.005106, allocations: 7.984 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.005138, allocations: 28.45 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.005139, allocations: 0 / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.892e-05/0.005198, allocations: 62.14 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.005208, allocations: 4.844 kB / 0.8172 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.005212, allocations: 0 / 0.8172 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.005221, allocations: 4 kB / 0.8172 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.101e-05/0.005252, allocations: 10 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.005255, allocations: 3.984 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-06/0.005265, allocations: 3.938 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.005273, allocations: 12.06 kB / 0.8173 GB, free: 12.6 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 (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 6.09e-05/0.005334, allocations: 153.2 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.005342, allocations: 4 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.51e-05/0.005427, allocations: 68.22 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005429, allocations: 0 / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.005432, allocations: 3.984 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.005438, allocations: 4.453 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.005618, allocations: 293.7 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.00562, allocations: 4 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.005654, allocations: 9.812 kB / 0.8178 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005655, allocations: 0 / 0.8178 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.00566, allocations: 4 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.005662, allocations: 3.984 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.005664, allocations: 3.938 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.005791, allocations: 228 kB / 0.818 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.005812, allocations: 8.484 kB / 0.818 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.00582, allocations: 5.781 kB / 0.818 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/0.005854, allocations: 4 kB / 0.818 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.005868, allocations: 7.938 kB / 0.818 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.005872, allocations: 0 / 0.818 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.005905, allocations: 131.2 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005905, allocations: 0.7188 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001558/0.006061, allocations: 15.94 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001247/0.006186, allocations: 127.5 kB / 0.8183 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.86e-05/0.006254, allocations: 31.61 kB / 0.8183 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006256, allocations: 0 / 0.8183 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.006275, allocations: 23.86 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.006422, allocations: 4 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.006825, allocations: 186.4 kB / 0.8185 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.006858, allocations: 55.36 kB / 0.8186 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.006878, allocations: 12.36 kB / 0.8186 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.007004, allocations: 78.2 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.007004, allocations: 0 / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.002182/0.009187, allocations: 0.731 MB / 0.8194 GB, free: 10.35 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.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: 5.064120600000024]