Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009821/0.0009821, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009653/0.0009653, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9319/0.9319, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.694/1.694, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.041e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001714/0.001735, allocations: 1.342 MB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007703/0.002505, allocations: 0.5799 MB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.002529, allocations: 0.6875 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.002548, allocations: 0 / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.311e-05/0.002591, allocations: 8.781 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.003079, allocations: 144 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.003138, allocations: 24.58 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.003176, allocations: 4 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.214e-05/0.003228, allocations: 13.64 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.00327, allocations: 7.984 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.003285, allocations: 0 / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.003595, allocations: 271.4 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.00361, allocations: 5.344 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.003629, allocations: 7.938 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.003832, allocations: 151.5 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003834, allocations: 0 / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003835, allocations: 1.594 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.00384, allocations: 3.984 kB / 0.7896 GB, free: 9.941 MB / 0.7448 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.0003339/0.004174, allocations: 391.9 kB / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.004209, allocations: 8.031 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.004247, allocations: 9.766 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.387e-05/0.004331, allocations: 115.9 kB / 0.7901 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.004341, allocations: 384 / 0.7901 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.004361, allocations: 8.359 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.798e-05/0.004449, allocations: 59.97 kB / 0.7901 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.004454, allocations: 4.188 kB / 0.7902 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.004464, allocations: 4.359 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.004473, allocations: 4.359 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.004498, allocations: 7.938 kB / 0.7902 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.004619, allocations: 116.7 kB / 0.7903 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.004783, allocations: 55.52 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.004808, allocations: 20.22 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.004823, allocations: 0.875 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.004845, allocations: 37.39 kB / 0.7904 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.004846, allocations: 0.8125 kB / 0.7904 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0004768/0.005323, allocations: 233.7 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.005349, allocations: 55.88 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.83e-05/0.005408, allocations: 159.3 kB / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.005417, allocations: 25.7 kB / 0.7908 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.00545, allocations: 126.9 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.005474, allocations: 27.78 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.005501, allocations: 28.56 kB / 0.791 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.005607, allocations: 496.1 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.005625, allocations: 15.97 kB / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.005638, allocations: 8.656 kB / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.005677, allocations: 23.69 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005677, allocations: 0.7188 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.536e-05/0.005743, allocations: 61.69 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.005754, allocations: 9.094 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005758, allocations: 0 / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.005769, allocations: 0 / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.926e-05/0.005808, allocations: 24.77 kB / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.005814, allocations: 3.938 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/0.005824, allocations: 2.219 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.00583, allocations: 0 / 0.7916 GB, free: 7.609 MB / 0.7448 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 5.822e-05/0.005888, allocations: 160.6 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-06/0.005895, allocations: 4 kB / 0.7918 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.273e-05/0.005988, allocations: 69.8 kB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.005989, allocations: 0 / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.005993, allocations: 7.156 kB / 0.7919 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005995, allocations: 0 / 0.7919 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.006211, allocations: 313.1 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006212, allocations: 0 / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.00625, allocations: 19.92 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.006252, allocations: 0.5156 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.006261, allocations: 3.938 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.006262, allocations: 0 / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.006264, allocations: 5.125 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.006394, allocations: 223.6 kB / 0.7924 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.006409, allocations: 4.531 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.00642, allocations: 7.938 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.496e-05/0.006455, allocations: 0.5312 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.006473, allocations: 12.53 kB / 0.7924 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.006476, allocations: 0 / 0.7924 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.843e-05/0.006504, allocations: 124.3 kB / 0.7925 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006504, allocations: 3.938 kB / 0.7926 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001598/0.006664, allocations: 23.94 kB / 0.7926 GB, free: 6.57 MB / 0.7448 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.0001236/0.006788, allocations: 129.3 kB / 0.7927 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.909e-05/0.006867, allocations: 39.67 kB / 0.7927 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.006868, allocations: 0 / 0.7927 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.037e-05/0.006888, allocations: 25 kB / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.007029, allocations: 4 kB / 0.7928 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.007485, allocations: 192.7 kB / 0.7929 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.294e-05/0.007518, allocations: 55.36 kB / 0.793 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.00754, allocations: 13.41 kB / 0.793 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.00756, allocations: 12.5 kB / 0.793 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.007561, allocations: 0 / 0.793 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of Templates: time 0.002214/0.009774, allocations: 0.6997 MB / 0.7937 GB, free: 5.406 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.788975542876869]