Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009013/0.0009013, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001279/0.001279, allocations: 169 kB / 23.27 MB, free: 1.223 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.886/0.886, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.455/2.455, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.",fileNamePrefix="Buildings_latest_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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.382e-05, allocations: 5.125 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002101/0.002124, allocations: 1.552 MB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.002948, allocations: 0.5876 MB / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.002982, allocations: 0 / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.00301, allocations: 3.938 kB / 0.8919 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.003061, allocations: 15.86 kB / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.003601, allocations: 151.3 kB / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.003681, allocations: 55.77 kB / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.003726, allocations: 7.938 kB / 0.8921 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.003806, allocations: 31.97 kB / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.496e-05/0.003841, allocations: 23.91 kB / 0.8921 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.003855, allocations: 4 kB / 0.8921 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.004144, allocations: 267.5 kB / 0.8924 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.004164, allocations: 15.92 kB / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.004186, allocations: 15.98 kB / 0.8924 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.004407, allocations: 191.3 kB / 0.8926 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.004411, allocations: 0 / 0.8926 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004412, allocations: 0 / 0.8926 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004416, allocations: 0 / 0.8926 GB, free: 6.785 MB / 0.8542 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.0004036/0.00482, allocations: 428.1 kB / 0.893 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.004858, allocations: 12.61 kB / 0.893 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.004887, allocations: 8.938 kB / 0.893 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.824e-05/0.004955, allocations: 116.6 kB / 0.8932 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.004975, allocations: 8.375 kB / 0.8932 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.004992, allocations: 4.375 kB / 0.8932 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.005139, allocations: 137.3 kB / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.005147, allocations: 192 / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.005153, allocations: 384 / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.005157, allocations: 384 / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.005191, allocations: 27.92 kB / 0.8933 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.00552, allocations: 288.2 kB / 0.8936 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.005628, allocations: 70.95 kB / 0.8937 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.005648, allocations: 19.62 kB / 0.8937 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.005667, allocations: 0 / 0.8937 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.005696, allocations: 45.33 kB / 0.8937 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.005697, allocations: 0 / 0.8937 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0006639/0.006361, allocations: 436.8 kB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.006384, allocations: 51.41 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.006447, allocations: 161.9 kB / 0.8943 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.00646, allocations: 37.64 kB / 0.8944 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.006509, allocations: 134.8 kB / 0.8945 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.006538, allocations: 39.67 kB / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.006573, allocations: 27.5 kB / 0.8946 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.006687, allocations: 0.4962 MB / 0.8951 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.006708, allocations: 15.98 kB / 0.8951 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.006727, allocations: 19.98 kB / 0.8951 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.006771, allocations: 39.67 kB / 0.8951 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006773, allocations: 3.938 kB / 0.8951 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.183e-05/0.006865, allocations: 92.44 kB / 0.8952 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.006875, allocations: 4 kB / 0.8952 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.006879, allocations: 0 / 0.8952 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.006887, allocations: 0 / 0.8952 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.006961, allocations: 27.98 kB / 0.8953 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.006964, allocations: 0 / 0.8953 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.006985, allocations: 4 kB / 0.8953 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.006989, allocations: 4 kB / 0.8953 GB, free: 3.805 MB / 0.8542 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 6.273e-05/0.007052, allocations: 164.5 kB / 0.8954 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.007072, allocations: 15.89 kB / 0.8954 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.007198, allocations: 109.9 kB / 0.8955 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.007201, allocations: 7.984 kB / 0.8955 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.007202, allocations: 0 / 0.8955 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007205, allocations: 0 / 0.8955 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.007445, allocations: 329.9 kB / 0.8959 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.007447, allocations: 0 / 0.8959 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.007518, allocations: 19.98 kB / 0.8959 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.007521, allocations: 12 kB / 0.8959 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.007528, allocations: 4 kB / 0.8959 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.00753, allocations: 0 / 0.8959 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007531, allocations: 3.938 kB / 0.8959 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.007693, allocations: 255.7 kB / 0.8961 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.007699, allocations: 7.953 kB / 0.8961 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.00771, allocations: 4 kB / 0.8962 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-05/0.007755, allocations: 4 kB / 0.8962 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.007768, allocations: 3.984 kB / 0.8962 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.007775, allocations: 8 kB / 0.8962 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.007806, allocations: 131.2 kB / 0.8963 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.007806, allocations: 0 / 0.8963 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001818/0.007988, allocations: 35.88 kB / 0.8963 GB, free: 2.637 MB / 0.8542 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.0001389/0.008127, allocations: 131.1 kB / 0.8965 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.519e-05/0.008212, allocations: 63.53 kB / 0.8965 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008213, allocations: 0 / 0.8965 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.008242, allocations: 35.66 kB / 0.8965 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.008422, allocations: 18 kB / 0.8966 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.008913, allocations: 258.7 kB / 0.8968 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.008946, allocations: 63.34 kB / 0.8969 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.008981, allocations: 4.734 kB / 0.8969 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.009039, allocations: 94.12 kB / 0.897 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/0.00904, allocations: 0 / 0.897 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.0027/0.01174, allocations: 1.307 MB / 0.8982 GB, free: 0.6562 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.182746704667807]