Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009506/0.0009506, 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.00101/0.00101, 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.8985/0.8985, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.746/1.746, allocations: 359 MB / 0.6055 GB, free: 10.88 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_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.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.23e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002208/0.002231, allocations: 1.521 MB / 0.789 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.003051, allocations: 0.599 MB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.003087, allocations: 0 / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.003121, allocations: 4.844 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.806e-05/0.003179, allocations: 7.984 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.003704, allocations: 165.6 kB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.871e-05/0.003773, allocations: 47.84 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.00381, allocations: 7.984 kB / 0.7899 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.666e-05/0.003887, allocations: 29.7 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.003924, allocations: 23.95 kB / 0.7899 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.003939, allocations: 4 kB / 0.7899 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.004243, allocations: 275.4 kB / 0.7902 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.004266, allocations: 16.5 kB / 0.7902 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.00429, allocations: 15.98 kB / 0.7902 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.004558, allocations: 187.8 kB / 0.7904 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00456, allocations: 0.5938 kB / 0.7904 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00456, allocations: 0 / 0.7904 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.004564, allocations: 0.7812 kB / 0.7904 GB, free: 9.297 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003724/0.004936, allocations: 417.3 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.004971, allocations: 12.03 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.005001, allocations: 8.891 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.118e-05/0.005082, allocations: 121.9 kB / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.005104, allocations: 8.375 kB / 0.7909 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.005124, allocations: 4.375 kB / 0.7909 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.005265, allocations: 132.1 kB / 0.7911 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.005273, allocations: 192 / 0.7911 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.00528, allocations: 384 / 0.7911 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005284, allocations: 4.375 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.738e-05/0.005322, allocations: 31.86 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.005645, allocations: 293.4 kB / 0.7914 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.005747, allocations: 71.48 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.005766, allocations: 13.62 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.005784, allocations: 4 kB / 0.7915 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.005809, allocations: 37.33 kB / 0.7915 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.00581, allocations: 0 / 0.7915 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0007065/0.006516, allocations: 451.3 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.006539, allocations: 55.41 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.05e-05/0.0066, allocations: 157.9 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.006613, allocations: 29.7 kB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.006653, allocations: 134.8 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.006682, allocations: 52.09 kB / 0.7923 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.006715, allocations: 28.09 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.006817, allocations: 0.4884 MB / 0.7928 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.00684, allocations: 24.45 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.00686, allocations: 14.12 kB / 0.7929 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.006906, allocations: 45.25 kB / 0.7929 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006908, allocations: 3.938 kB / 0.7929 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00011/0.007018, allocations: 86.64 kB / 0.793 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.007031, allocations: 7.984 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007035, allocations: 0.8438 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.007046, allocations: 4 kB / 0.793 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.007125, allocations: 32.77 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.007128, allocations: 0 / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.081e-05/0.007149, allocations: 1.281 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.007155, allocations: 4 kB / 0.793 GB, free: 6.312 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 (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 7.501e-05/0.00723, allocations: 164.5 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.007251, allocations: 8.844 kB / 0.7932 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.007377, allocations: 93.72 kB / 0.7933 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.007378, allocations: 1.219 kB / 0.7933 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.00738, allocations: 3.938 kB / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.007384, allocations: 3.984 kB / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.007648, allocations: 327.3 kB / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.00765, allocations: 0 / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.007724, allocations: 27.92 kB / 0.7936 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007726, allocations: 1.594 kB / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.007734, allocations: 4 kB / 0.7937 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.007737, allocations: 4 kB / 0.7937 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007738, allocations: 0 / 0.7937 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.008088, allocations: 254.8 kB / 0.7939 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.008096, allocations: 7.953 kB / 0.7939 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.008107, allocations: 4 kB / 0.7939 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.008152, allocations: 8 kB / 0.7939 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.008166, allocations: 7.984 kB / 0.7939 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.008172, allocations: 4 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.008205, allocations: 127.2 kB / 0.7941 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008205, allocations: 0 / 0.7941 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001807/0.008386, allocations: 40.38 kB / 0.7941 GB, free: 5.184 MB / 0.7448 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.000133/0.008519, allocations: 136.6 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.008604, allocations: 62.09 kB / 0.7943 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.008605, allocations: 1.844 kB / 0.7943 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.008634, allocations: 35.61 kB / 0.7943 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.008789, allocations: 18.98 kB / 0.7943 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.009225, allocations: 270.3 kB / 0.7946 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.009257, allocations: 59.34 kB / 0.7946 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.009291, allocations: 12.73 kB / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.009351, allocations: 86.19 kB / 0.7947 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/0.009352, allocations: 0 / 0.7947 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of Templates: time 0.00249/0.01184, allocations: 1.299 MB / 0.796 GB, free: 3.223 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.819784451276064]