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.001401/0.001401, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001716/0.001716, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9272/0.9272, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.767/1.767, allocations: 359 MB / 0.6055 GB, free: 10.85 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 2.205e-06/2.205e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.896e-05, allocations: 9.547 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002656/0.002685, allocations: 1.327 MB / 0.7889 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.003675, allocations: 0.5716 MB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.003717, allocations: 0.625 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.00374, allocations: 3.938 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.003794, allocations: 5.344 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.004435, allocations: 147.9 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.926e-05/0.004504, allocations: 23.88 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.004549, allocations: 4.891 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.594e-05/0.004614, allocations: 15.98 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.004668, allocations: 4.641 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.004685, allocations: 4 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.00509, allocations: 267.9 kB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.005107, allocations: 0 / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.005126, allocations: 15.41 kB / 0.7899 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.005392, allocations: 155.5 kB / 0.79 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.005397, allocations: 4 kB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/0.005398, allocations: 0 / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.005403, allocations: 0 / 0.79 GB, free: 9.645 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.0004076/0.00581, allocations: 383.9 kB / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.005855, allocations: 8.031 kB / 0.7904 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.005888, allocations: 9.234 kB / 0.7904 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.725e-05/0.005985, allocations: 120.5 kB / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.005997, allocations: 1.094 kB / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.006017, allocations: 384 / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.006118, allocations: 65.61 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.006129, allocations: 4.125 kB / 0.7906 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.006137, allocations: 4.375 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006143, allocations: 384 / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.394e-05/0.006167, allocations: 9.125 kB / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.006301, allocations: 101.2 kB / 0.7907 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.006471, allocations: 51.83 kB / 0.7908 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.006496, allocations: 19.67 kB / 0.7908 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.00652, allocations: 1.344 kB / 0.7908 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.006551, allocations: 41.33 kB / 0.7908 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.006552, allocations: 0 / 0.7908 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0004899/0.007042, allocations: 223.4 kB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.007069, allocations: 51.41 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.007224, allocations: 161.9 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.007238, allocations: 29.7 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.007279, allocations: 128.1 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.007312, allocations: 27.77 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.007348, allocations: 23.38 kB / 0.7914 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.007477, allocations: 496.1 kB / 0.7919 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.007502, allocations: 9.328 kB / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.007515, allocations: 4 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.007558, allocations: 31.67 kB / 0.792 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.007561, allocations: 4.531 kB / 0.792 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.95e-05/0.007651, allocations: 57.64 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.007666, allocations: 8.531 kB / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.007671, allocations: 0.875 kB / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007683, allocations: 0 / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.007734, allocations: 12.8 kB / 0.792 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.007738, allocations: 3.938 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.007754, allocations: 8.469 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.00776, allocations: 4 kB / 0.7921 GB, free: 7.359 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 7.253e-05/0.007833, allocations: 157.9 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.007844, allocations: 4 kB / 0.7922 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.007957, allocations: 65.8 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.007959, allocations: 1.219 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007961, allocations: 0 / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.007965, allocations: 3.938 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.008212, allocations: 298.4 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.008214, allocations: 0.7188 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.00827, allocations: 11.98 kB / 0.7926 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.008274, allocations: 4.812 kB / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.00828, allocations: 0 / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.008282, allocations: 0 / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.008284, allocations: 4.875 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.008462, allocations: 227.5 kB / 0.7928 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.008485, allocations: 9.203 kB / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.008497, allocations: 0.7031 kB / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.008561, allocations: 8 kB / 0.7928 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.008578, allocations: 12.89 kB / 0.7928 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.008584, allocations: 0 / 0.7928 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.008631, allocations: 127.2 kB / 0.7929 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008631, allocations: 2.25 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002675/0.008899, allocations: 23.94 kB / 0.793 GB, free: 6.352 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.0001754/0.009074, allocations: 119.1 kB / 0.7931 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.502e-05/0.009159, allocations: 35.83 kB / 0.7931 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.009161, allocations: 3.25 kB / 0.7931 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.009187, allocations: 27.67 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.009427, allocations: 10.38 kB / 0.7932 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.01003, allocations: 171.8 kB / 0.7933 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.01007, allocations: 59.34 kB / 0.7934 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.0101, allocations: 9.734 kB / 0.7934 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.01016, allocations: 78.2 kB / 0.7935 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of SimCode: time 8.61e-07/0.01016, allocations: 5.031 kB / 0.7935 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of Templates: time 0.003159/0.01332, allocations: 0.7286 MB / 0.7942 GB, free: 5.102 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.85575454775244]