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.001012/0.001012, allocations: 81.95 kB / 21.47 MB, free: 3.035 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.001084/0.001084, allocations: 165.7 kB / 24.87 MB, free: 8.883 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.9356/0.9356, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.855/1.855, allocations: 359 MB / 0.6063 GB, free: 10.84 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.773e-06/1.773e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.332e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003124/0.003158, allocations: 1.532 MB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.00426, allocations: 0.5912 MB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.004307, allocations: 0 / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.004344, allocations: 7.922 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.307e-05/0.004407, allocations: 9.438 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.005112, allocations: 156.8 kB / 0.7906 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.935e-05/0.005211, allocations: 59.77 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.005262, allocations: 4 kB / 0.7906 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.365e-05/0.005355, allocations: 33.77 kB / 0.7907 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.005405, allocations: 19.92 kB / 0.7907 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.005423, allocations: 4 kB / 0.7907 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.005826, allocations: 271.4 kB / 0.7909 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.005851, allocations: 15.97 kB / 0.7909 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.005876, allocations: 22.36 kB / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.006107, allocations: 187.3 kB / 0.7911 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.00611, allocations: 0 / 0.7911 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006111, allocations: 0 / 0.7911 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.006115, allocations: 0 / 0.7911 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.0004245/0.006539, allocations: 420.1 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.006574, allocations: 8.656 kB / 0.7916 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.006614, allocations: 14.55 kB / 0.7916 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.006703, allocations: 108.6 kB / 0.7917 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.006724, allocations: 8.312 kB / 0.7917 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.006744, allocations: 12.36 kB / 0.7917 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.006906, allocations: 131.6 kB / 0.7918 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.006915, allocations: 192 / 0.7918 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.006923, allocations: 384 / 0.7918 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.006928, allocations: 384 / 0.7918 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.686e-05/0.006965, allocations: 29.06 kB / 0.7918 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.007303, allocations: 300.1 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.007414, allocations: 64.41 kB / 0.7922 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.007436, allocations: 19.67 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.00745, allocations: 1.75 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.007474, allocations: 41.33 kB / 0.7923 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.007476, allocations: 0 / 0.7923 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0007735/0.008249, allocations: 442.2 kB / 0.7927 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.008284, allocations: 51.41 kB / 0.7927 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.008371, allocations: 161.9 kB / 0.7929 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.008385, allocations: 31.64 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.008439, allocations: 134.8 kB / 0.793 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.008478, allocations: 47.56 kB / 0.7931 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.008523, allocations: 35.34 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.00867, allocations: 0.4884 MB / 0.7936 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.008695, allocations: 14.2 kB / 0.7936 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.00872, allocations: 15.98 kB / 0.7936 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.974e-05/0.00878, allocations: 41.8 kB / 0.7937 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.008783, allocations: 3.938 kB / 0.7937 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001156/0.008898, allocations: 93.69 kB / 0.7938 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.008913, allocations: 8 kB / 0.7938 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.008919, allocations: 0.5 kB / 0.7938 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.008932, allocations: 0.7188 kB / 0.7938 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.918e-05/0.009031, allocations: 27.98 kB / 0.7938 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.009035, allocations: 0.5312 kB / 0.7938 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.00906, allocations: 5.656 kB / 0.7938 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.009067, allocations: 3.984 kB / 0.7938 GB, free: 6.324 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 8.922e-05/0.009156, allocations: 168.5 kB / 0.794 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.00918, allocations: 8.531 kB / 0.794 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.009333, allocations: 93.72 kB / 0.7941 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.009337, allocations: 0.9062 kB / 0.7941 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.009341, allocations: 4 kB / 0.7941 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.009346, allocations: 1.031 kB / 0.7941 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.009659, allocations: 333.8 kB / 0.7944 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.009662, allocations: 5.281 kB / 0.7944 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/0.009757, allocations: 23.97 kB / 0.7944 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.009761, allocations: 4 kB / 0.7944 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.009771, allocations: 4 kB / 0.7944 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.009773, allocations: 0.5938 kB / 0.7944 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.009774, allocations: 0.8125 kB / 0.7944 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.0101, allocations: 248.1 kB / 0.7947 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.01011, allocations: 5.578 kB / 0.7947 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.01012, allocations: 8 kB / 0.7947 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.01018, allocations: 3.984 kB / 0.7947 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.01019, allocations: 7.984 kB / 0.7947 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.0102, allocations: 8.906 kB / 0.7947 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.01025, allocations: 127.2 kB / 0.7948 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01025, allocations: 3.938 kB / 0.7948 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002258/0.01047, allocations: 39.31 kB / 0.7949 GB, free: 5.191 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.0001906/0.01066, allocations: 131.1 kB / 0.795 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.01079, allocations: 63.64 kB / 0.795 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01079, allocations: 0 / 0.795 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.01082, allocations: 39.59 kB / 0.7951 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.01104, allocations: 17.95 kB / 0.7951 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.01167, allocations: 272.9 kB / 0.7954 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.01171, allocations: 59.36 kB / 0.7954 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.096e-05/0.01176, allocations: 20.75 kB / 0.7954 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.01184, allocations: 86.19 kB / 0.7955 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/0.01184, allocations: 0 / 0.7955 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of Templates: time 0.003775/0.01561, allocations: 1.305 MB / 0.7968 GB, free: 3.215 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: 5.055964839179069]